| [Overview][Constants][Classes][Index] | 
Set stream position.
Source position: bufstream.pp line 72
| public function TWriteBufStream.Seek( | 
| const Offset: Int64; | 
| Origin: TSeekOrigin | 
| ):Int64; override; | 
| Offset | 
 | Offset (in bytes) of origin | 
| Origin | 
 | Origin of seek operation | 
New position
Seek always raises an EStreamError exception, except when the seek operation would not alter the current position.
A later implementation may perform a proper seek operation by flushing the buffer and doing a seek on the source stream.
| 
 | Write data to the stream | |
| 
 | Set location in the buffer |