TOutputStream
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TOutputStream |
Source
Stream.Output.pas (29)
Description
Streams can implement buffering schemes to allow clustering of data that has been written by separate calls to Write
. Flush
forces
buffered data to be written to its final destination and should be called at least once after all necessary data has been written and the stream can be freed. No
implicit call to Flush
is executed on freeing a stream and unflushed data may be lost.
When encoding multi-byte simple values the order of the constituting bytes can either be big endian (higher order bytes first) or
little endian (lower order bytes first). TOutputStream
provides functions to write simple values using either big
or little endian encoding. These functions work correctly regardless of the endianness of the underlying platform.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Type | private | array of TPositiveInteger8 | Zeros |