API:FileStream

From Kerbal Space Program Wiki
Revision as of 21:38, 12 October 2012 by N3X15 (talk | contribs)
Jump to: navigation, search

KSP.IO Namespace
BinaryReader · BinaryWriter · File · FileInfo · FileStream · IOException · IOTools · IOUtils · MemoryStream · PluginConfigNode · PluginConfiguration · TextReader · TextWriter

FileStream Class

summary goes here

Methods

The following are methods included in FileStream.

Signature Description
void SetLength(long value)
void WriteByte(byte value)
long Seek(long offset, SeekOrigin origin)
int ReadByte()
void Dispose()
IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
void Lock(long position, long length)
void EndWrite(IAsyncResult asyncResult)
void Write(byte[] array, int offset, int count)
void Unlock(long position, long length)
int Read(byte[] array, int offset, int count)
int EndRead(IAsyncResult asyncResult)
void Flush()