Description | Hierarchy | Fields | Methods | Properties |
type unaBitReader_file = class(unaBitReader_abstract)
Bit-reader based on file storage.
constructor create(mf: unaMappedFile); overload; |
|
constructor create(const fileName: wideString); overload; |
|
function EOF(numBits: unsigned = 8): bool; override; |
|
procedure BeforeDestruction(); override; |
|
procedure doRestart(); override; |
|
procedure readSubBuf(reqSize: int = -1; append: bool = false); override; |
constructor create(mf: unaMappedFile); overload; |
|
Creates bit-readed based on mapped file object. Parameters
|
constructor create(const fileName: wideString); overload; |
|
Creates bit-readed based on buffered file operations. Parameters
|
function EOF(numBits: unsigned = 8): bool; override; |
|
Checks if end of file is reached. |
procedure BeforeDestruction(); override; |
|
Cleans up the instance. |
procedure doRestart(); override; |
|
Cleans up the reader. |
procedure readSubBuf(reqSize: int = -1; append: bool = false); override; |
|
Reads next portion of bytes from file. |
(c) 2012 Lake of Soft