Description | Hierarchy | Fields | Methods | Properties |
type unaRIFFChunk = class(unaObject)
RIFF Chunk.
constructor create(master: unaRIFile; parent: unaRIFFChunk; maxSize: int64; offset: int64 = 0); |
|
destructor Destroy(); override; |
|
function getSubChunkCount(): unsigned; |
|
function getSubPtr(offs: int64; size: unsigned; out subOfs: int): pointer; |
|
function isID(const id: fourCC): bool; |
|
function loadDataBuf(maxSize: int = -1): pArray; |
|
function readBuf(offset: int64; buf: pointer; sz: unsigned): unsigned; |
|
procedure releaseDataBuf(); |
|
procedure releaseSubPtr(baseAddr: pointer); |
property dataBuf: pArray read f_data64KB; |
|
property dataBufSize: int read f_data64KBSize; |
|
property header: punaRIFFHeader read f_header; |
|
property isContainer: bool read f_isContainer; |
|
property master: unaRIFile read f_master; |
|
property maxSize64: int64 read f_maxSize64; |
|
property offset64: int64 read f_offset64; |
|
property subChunk[index:unsigned]: unaRIFFChunk read getSubChunk; |
constructor create(master: unaRIFile; parent: unaRIFFChunk; maxSize: int64; offset: int64 = 0); |
|
destructor Destroy(); override; |
|
function getSubChunkCount(): unsigned; |
|
function getSubPtr(offs: int64; size: unsigned; out subOfs: int): pointer; |
|
function isID(const id: fourCC): bool; |
|
function loadDataBuf(maxSize: int = -1): pArray; |
|
function readBuf(offset: int64; buf: pointer; sz: unsigned): unsigned; |
|
procedure releaseDataBuf(); |
|
procedure releaseSubPtr(baseAddr: pointer); |
|
property dataBuf: pArray read f_data64KB; |
|
property dataBufSize: int read f_data64KBSize; |
|
property header: punaRIFFHeader read f_header; |
|
property isContainer: bool read f_isContainer; |
|
property master: unaRIFile read f_master; |
|
property maxSize64: int64 read f_maxSize64; |
|
property offset64: int64 read f_offset64; |
|
property subChunk[index:unsigned]: unaRIFFChunk read getSubChunk; |
|
(c) 2012 Lake of Soft