Difference between revisions of "API:SeekOrigin"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 3: Line 3:
 
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.
 
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.
  
{{EnumValue
+
{{PageEnums|enums=
 +
{{PageEnumValue
 
|name=Begin
 
|name=Begin
 
|desc=Seek from the beginning of the stream.
 
|desc=Seek from the beginning of the stream.
 
}}
 
}}
{{EnumValue
+
{{PageEnumValue
 
|name=Current
 
|name=Current
 
|desc=Seek from the current position in the stream.
 
|desc=Seek from the current position in the stream.
 
}}
 
}}
{{EnumValue
+
{{PageEnumValue
 
|name=End
 
|name=End
 
|desc=Seek from the end of the stream.
 
|desc=Seek from the end of the stream.
 +
}}
 
}}
 
}}

Revision as of 22:09, 16 October 2015

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.

Template:PageEnums