API:SeekOrigin

From Kerbal Space Program Wiki
Revision as of 18:49, 17 March 2017 by Sal vager (talk | contribs) (Reverted edits by Rocketing Rudolph (talk) to last revision by Glyph)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.