Home Units Hierarchy Routines All identifiers

Class unaRIFFChunk

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaRIFFChunk = class(unaObject)

Description

RIFF Chunk.

Hierarchy

Overview

Methods

Public constructor create(master: unaRIFile; parent: unaRIFFChunk; maxSize: int64; offset: int64 = 0);
Public destructor Destroy(); override;
Public function getSubChunkCount(): unsigned;
Public function getSubPtr(offs: int64; size: unsigned; out subOfs: int): pointer;
Public function isID(const id: fourCC): bool;
Public function loadDataBuf(maxSize: int = -1): pArray;
Public function readBuf(offset: int64; buf: pointer; sz: unsigned): unsigned;
Public procedure releaseDataBuf();
Public procedure releaseSubPtr(baseAddr: pointer);

Properties

Public property dataBuf: pArray read f_data64KB;
Public property dataBufSize: int read f_data64KBSize;
Public property header: punaRIFFHeader read f_header;
Public property isContainer: bool read f_isContainer;
Public property master: unaRIFile read f_master;
Public property maxSize64: int64 read f_maxSize64;
Public property offset64: int64 read f_offset64;
Public property subChunk[index:unsigned]: unaRIFFChunk read getSubChunk;

Description

Methods

Public constructor create(master: unaRIFile; parent: unaRIFFChunk; maxSize: int64; offset: int64 = 0);
 
Public destructor Destroy(); override;
 
Public function getSubChunkCount(): unsigned;
 
Public function getSubPtr(offs: int64; size: unsigned; out subOfs: int): pointer;
 
Public function isID(const id: fourCC): bool;
 
Public function loadDataBuf(maxSize: int = -1): pArray;
 
Public function readBuf(offset: int64; buf: pointer; sz: unsigned): unsigned;
 
Public procedure releaseDataBuf();
 
Public procedure releaseSubPtr(baseAddr: pointer);
 

Properties

Public property dataBuf: pArray read f_data64KB;
 
Public property dataBufSize: int read f_data64KBSize;
 
Public property header: punaRIFFHeader read f_header;
 
Public property isContainer: bool read f_isContainer;
 
Public property master: unaRIFile read f_master;
 
Public property maxSize64: int64 read f_maxSize64;
 
Public property offset64: int64 read f_offset64;
 
Public property subChunk[index:unsigned]: unaRIFFChunk read getSubChunk;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09