C# Class Nintenlord.GBA_Graphics_Editor.DataBuffer

Editable buffer of data
Show file Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Public Methods

Method Description
Append ( IEnumerable newData ) : void
DataBuffer ( int capacity ) : System
GetLZ77CompLenght ( ) : int
ReadCompressedData ( GBAROM rom, int offset ) : void
ReadData ( GBAROM rom, int offset, int lenght ) : void
ToArray ( ) : byte[]
WriteData ( BinaryWriter writer ) : void
WriteData ( GBAROM rom, int offset, bool compressed ) : void
this ( int index ) : byte

Method Details

Append() public method

public Append ( IEnumerable newData ) : void
newData IEnumerable
return void

DataBuffer() public method

public DataBuffer ( int capacity ) : System
capacity int
return System

GetLZ77CompLenght() public method

public GetLZ77CompLenght ( ) : int
return int

ReadCompressedData() public method

public ReadCompressedData ( GBAROM rom, int offset ) : void
rom Nintenlord.ROMHacking.GBA.GBAROM
offset int
return void

ReadData() public method

public ReadData ( GBAROM rom, int offset, int lenght ) : void
rom Nintenlord.ROMHacking.GBA.GBAROM
offset int
lenght int
return void

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

WriteData() public method

public WriteData ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

WriteData() public method

public WriteData ( GBAROM rom, int offset, bool compressed ) : void
rom Nintenlord.ROMHacking.GBA.GBAROM
offset int
compressed bool
return void

this() public method

public this ( int index ) : byte
index int
return byte