[Overview][Classes][Index] |
Read null bytes from the stream
Source position: nullstream.pp line 40
public function TNullStream.Read( |
var Buffer; |
Count: LongInt |
):LongInt; override; |
Buffer |
|
Buffer to zero out. |
Count |
|
Maximum number of bytes to zero out |
Actual number or zero bytes
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.
|
Write to stream |
|