C# Class NScumm.Sky.RncDecoder

Mostra file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
RncDecoder ( ) : NScumm.Core
UnpackM1 ( byte input, int offset, byte output, int outputOffset ) : int

Private Methods

Method Description
CrcBlock ( byte block, int offset, int size ) : ushort

Calculates 16 bit crc of a block of memory.

InitCrc ( ) : void
InputBits ( byte amount ) : ushort
InputValue ( ushort table ) : ushort
MakeHufftable ( ushort table ) : void

Method Details

RncDecoder() public method

public RncDecoder ( ) : NScumm.Core
return NScumm.Core

UnpackM1() public method

public UnpackM1 ( byte input, int offset, byte output, int outputOffset ) : int
input byte
offset int
output byte
outputOffset int
return int