JCL Help:TJclStreamDecorator.Seek@Int64@TSeekOrigin

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Overridden function of TStream.Seek.


Pascal

 public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;


Parameters

Parameters Description
const Offset: Int64 Offset to seek from origin.
Origin: TSeekOrigin Origin to seek from (soBeginning, soCurrent, soEnd).


Return Value

New position in stream relative to beginning. -1 in case of error.


Description

By calling this function, the position is translated given the Offset and Origin parameters. For a more complete description, refers to TStream.Seek documentation.


See Also

TJclStreamDecorator.Read TJclStreamDecorator.Write


About

Donator

Heinz Zastrau


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