Property | Type | Description | |
---|---|---|---|
Data | byte[] | ||
Id | String | ||
IdBytes | byte[] | ||
Len | int |
Method | Description | |
---|---|---|
ToString ( ) : String |
Just id and length
|
|
setOffset ( long offset ) : void |
Method | Description | |
---|---|---|
AllocData ( ) : void | ||
ChunkRaw ( int length, String idb, bool alloc ) : System |
Creates an empty raw chunk
|
|
ChunkRaw ( int length, byte idbytes, bool alloc ) : System | ||
ComputeCrc ( ) : int |
Called after setting data, before writing to os
|
|
GetAsByteStream ( ) : |
||
ReadChunkData ( Stream stream, bool checkCrc ) : int |
Position before: just after chunk id. positon after: after crc Data should be already allocated. Checks CRC Return number of byte read.
|
|
WriteChunk ( Stream os ) : void |