Mono Class Library: Mono.Unix.StdioFileStream Overview | MembersMono.Unix.StdioFileStream.RestoreFilePosition Method |
Set the current file position saved in a Mono.Unix.Native.FilePosition instance. [Edit]
|
- pos
- A Mono.Unix.Native.FilePosition from which to restore the file position. [Edit]
The Mono.Unix.Native.FilePosition type holds a platform-specific representation of a file position. This is useful when the underlying standard C library cannot hold a file position in a long data type. For example, on 32-bit platforms a long is usually 32-bits in size; thus valid file positions as used from System.IO.Stream.Position cannot be set past 2^31 bytes (effectively limiting you to 2GB files).
Use this member if your underlying platform doesn't support System.IO.Stream.Seeking within large files, or you need to save text stream information.
[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0