TNullStream.Read function
Read null bytes from the stream.
Declaration
function Read(var Buffer; Count: LongInt): LongInt; overrideArguments
Buffer | Buffer to zero out. |
Count | Maximum number of bytes to zero out. |
Function result
Actual number or zero bytes.
Description
Read reads
Count null bytes from the stream.
Count can be at most
Size.
The
Buffer will be filled with null bytes, effectively zeroing out the memory.
The size can be increased using
Write or by explicitly setting
Size.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
