Set current position in the stream.
Source position: nullstream.pp line 48
public function TNullStream.Seek( |
const Offset: Int64; |
Origin: TSeekOrigin |
):Int64; override; |
Offset |
|
Offset from origin, in bytes. |
Origin |
|
Origin of seek operation. |
The new position.
Seek sets the current position in the stream. It simulates this operation by keeping a "virtual" position. See #rtl.classes.TStream.Seek for more info about the arguments.
If the requested operation would cause the position to fall outside of the allowed range (0 to Size) then a ENullStreamError exception is raised.
|
Read null bytes from the stream. |
|
|
Write to stream. |
|