JCL Help:TJclEmptyStream.Seek@Int64@TSeekOrigin
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TJclEmptyStream.Seek Method
[+] TJclEmptyStream Methods
Search in JCL Help
Search in all projects
Summary
Overridden function of TStream.Seek.
Pascal
public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
Parameters
Parameters | Description |
const Offset: Int64 | Specified number of bytes to seek from origin. |
Origin: TSeekOrigin | Origin to seek from (soBeginning, soCurrent, soEnd). |
Return Value
New position in the stream relative to the beginning (always 0). This function returns -1 in case of error.
Description
This function seeks of the specified number of byte from specified origin. As implemented, this function will keep current position tied to 0, if any change is requested, it returns -1 flagging an error. For a more complete description of this function, refer to the documentation of TStream.Seek.
See Also
TJclEmptyStream.Read TJclEmptyStream.SetSize TJclEmptyStream.Write
About
Donator
Robert Marquardt
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page