Difference between revisions of "API:SeekOrigin"
From Kerbal Space Program Wiki
(Created page with "{{Namespace:KSP.IO}} {{Enum |name=SeekOrigin |desc=This enum is a replacement for its System.IO equivalent. It's used to determine from where one wishes to seek in a file str...") |
m (Reverted edits by Rocketing Rudolph (talk) to last revision by Glyph) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Namespace:KSP.IO}} | {{Namespace:KSP.IO}} | ||
− | + | ||
− | + | The '''SeekOrigin''' enum is a replacement for its System.IO equivalent. It's used to determine from where one wishes to seek in a file stream. | |
− | + | ||
− | + | {{PageEnum|enums= | |
− | {{ | + | {{PageEnumValue |
− | {{ | ||
|name=Begin | |name=Begin | ||
|desc=Seek from the beginning of the stream. | |desc=Seek from the beginning of the stream. | ||
}} | }} | ||
− | {{ | + | {{PageEnumValue |
|name=Current | |name=Current | ||
|desc=Seek from the current position in the stream. | |desc=Seek from the current position in the stream. | ||
− | {{ | + | }} |
+ | {{PageEnumValue | ||
|name=End | |name=End | ||
|desc=Seek from the end of the stream. | |desc=Seek from the end of the stream. | ||
}} | }} | ||
− | + | }} |
Latest revision as of 18:49, 17 March 2017
KSP.IO Namespace
BinaryReader ·
BinaryWriter ·
File ·
FileInfo ·
FileStream ·
IOException ·
IOTools ·
IOUtils ·
MemoryStream ·
PluginConfigNode ·
PluginConfiguration ·
TextReader ·
TextWriter
The SeekOrigin enum is a replacement for its System.IO equivalent. It's used to determine from where one wishes to seek in a file stream.
Enumeration Values
- Begin
- Seek from the beginning of the stream.
- Current
- Seek from the current position in the stream.
- End
- Seek from the end of the stream.