Package com._1c.g5.v8.dt.core.streams
Interface IFileEx
- All Superinterfaces:
IFile
- All Known Implementing Classes:
FileInOutBinFile
seek capable file interface
{@link FileInEx, FileOutEx}
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.streams.IFile
IFile.SeekOrigin -
Method Summary
Modifier and TypeMethodDescriptionlongseek(long pos, IFile.SeekOrigin origin) sets/returns the file positionlongsetEOF()truncates/expands file up to the current file position
-
Method Details
-
seek
sets/returns the file position- Parameters:
pos- - seek offsetorigin- - offset's origin - can be one of SeekOrigin enumeration values- Returns:
- the new file position
-
setEOF
long setEOF()truncates/expands file up to the current file position- Returns:
- - the current file position
-