| Description | Hierarchy | Fields | Methods | Properties | 
type unaMemoryStream = class(unaAbstractStream)
Stream is stored in memory. This implementation does not support seeking.
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function compressChunks(): int; | 
![]()  | 
function firstChunk(): unaStreamChunk; | 
![]()  | 
function firstChunkRemove(): bool; | 
![]()  | 
function firstChunkSize(): int; | 
![]()  | 
function getCrc32(): unsigned; | 
![]()  | 
function clear2(): unaAbstractStream; override; | 
![]()  | 
function getAvailableSize2(): int; override; | 
![]()  | 
function getPosition(): int; override; | 
![]()  | 
function read2(buf: pointer; size: int; remove: bool = true): int; override; | 
![]()  | 
function remove2(size: int): int; override; | 
![]()  | 
function seek(position: int; fromBeggining: bool = true): int; overload; override; | 
![]()  | 
function seekD(delta: int): int; overload; override; | 
![]()  | 
function write2(buf: pointer; size: int): int; override; | 
![]()  | 
procedure AfterConstruction(); override; | 
![]()  | 
property maxCacheSize: unsigned read f_maxCacheSize write f_maxCacheSize default 10; | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function compressChunks(): int; | 
| 
 Moves all chunks into first one. Returnsfirst chunk size ( = stream size)  | |
![]()  | 
function firstChunk(): unaStreamChunk; | 
![]()  | 
function firstChunkRemove(): bool; | 
![]()  | 
function firstChunkSize(): int; | 
![]()  | 
function getCrc32(): unsigned; | 
![]()  | 
function clear2(): unaAbstractStream; override; | 
![]()  | 
function getAvailableSize2(): int; override; | 
![]()  | 
function getPosition(): int; override; | 
![]()  | 
function read2(buf: pointer; size: int; remove: bool = true): int; override; | 
![]()  | 
function remove2(size: int): int; override; | 
![]()  | 
function seek(position: int; fromBeggining: bool = true): int; overload; override; | 
![]()  | 
function seekD(delta: int): int; overload; override; | 
![]()  | 
function write2(buf: pointer; size: int): int; override; | 
![]()  | 
procedure AfterConstruction(); override; | 
![]()  | 
property maxCacheSize: unsigned read f_maxCacheSize write f_maxCacheSize default 10; | 
| 
 Number of chunks to keep in memory for later re-use.  | |
(c) 2012 Lake of Soft