TNullStream.Read¶
Read null bytes from the stream.
Declaration¶
Source position: nullstream.pp line 46
public
function TNullStream.Read(var Buffer; Count: LongInt) : LongInt
; override;
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¶
| Name | Description |
|---|---|
| TNullStream.Write | Write to stream. |
| #rtl.classes.TStream.Size |