Method | Description | |
---|---|---|
DecompressData ( this reader, long inputEnd ) : byte[] |
Read a header and decompress data.
|
|
DecompressLZ77 ( this reader, long inputEnd, int outputSize, bool acceptInputOverflow = false, bool ffEscape = false ) : byte[] |
Decompress LZ77-compressed data.
|
|
ReadNDSColor ( this reader, bool useAlpha = false, bool forceTransparent = false ) : Color |
Read a two-byte color code for the Nintendo DS. They are stored as unsigned shorts, 5 bits per component, with an optional alpha bit.
|
public static DecompressData ( this reader, long inputEnd ) : byte[] | ||
reader | this | |
inputEnd | long | |
return | byte[] |
public static DecompressLZ77 ( this reader, long inputEnd, int outputSize, bool acceptInputOverflow = false, bool ffEscape = false ) : byte[] | ||
reader | this | |
inputEnd | long | |
outputSize | int | |
acceptInputOverflow | bool | |
ffEscape | bool | |
return | byte[] |
public static ReadNDSColor ( this reader, bool useAlpha = false, bool forceTransparent = false ) : Color | ||
reader | this | What to read the color from. |
useAlpha | bool | Whether to use the alpha bit. The default is |
forceTransparent | bool | Whether to force a transparent color. The default is |
return | Color |