Свойство | Тип | Описание | |
---|---|---|---|
Data | byte[] | ||
Id | String | ||
IdBytes | byte[] | ||
Len | int |
Метод | Описание | |
---|---|---|
ToString ( ) : String |
Just id and length
|
|
setOffset ( long offset ) : void |
Метод | Описание | |
---|---|---|
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 |