Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
KSP.IO.MemoryStream Class Reference

Emulates System.IO.MemoryStream. More...

Public Member Functions

void Flush ()
 
byte[] GetBuffer ()
 
 MemoryStream ()
 
 MemoryStream (byte[] buffer)
 
int Read (byte[] buffer, int offset, int count)
 
int ReadByte ()
 
long Seek (long offset, SeekOrigin loc)
 
void SetLength (long value)
 
byte[] ToArray ()
 
void Write (byte[] buffer, int offset, int count)
 
void WriteByte (byte value)
 

Properties

bool CanRead [get]
 
bool CanSeek [get]
 
bool CanWrite [get]
 
int Capacity [get, set]
 
long Length [get]
 
long Position [get, set]
 

Detailed Description

Emulates System.IO.MemoryStream.

Constructor & Destructor Documentation

KSP.IO.MemoryStream.MemoryStream ( )
inline
KSP.IO.MemoryStream.MemoryStream ( byte[]  buffer)
inline

Member Function Documentation

void KSP.IO.MemoryStream.Flush ( )
inline

byte [] KSP.IO.MemoryStream.GetBuffer ( )
inline

int KSP.IO.MemoryStream.Read ( byte[]  buffer,
int  offset,
int  count 
)
inline

int KSP.IO.MemoryStream.ReadByte ( )
inline

long KSP.IO.MemoryStream.Seek ( long  offset,
SeekOrigin  loc 
)
inline

void KSP.IO.MemoryStream.SetLength ( long  value)
inline

byte [] KSP.IO.MemoryStream.ToArray ( )
inline

void KSP.IO.MemoryStream.Write ( byte[]  buffer,
int  offset,
int  count 
)
inline

void KSP.IO.MemoryStream.WriteByte ( byte  value)
inline

Property Documentation

bool KSP.IO.MemoryStream.CanRead
get

bool KSP.IO.MemoryStream.CanSeek
get

bool KSP.IO.MemoryStream.CanWrite
get

int KSP.IO.MemoryStream.Capacity
getset

long KSP.IO.MemoryStream.Length
get

long KSP.IO.MemoryStream.Position
getset


The documentation for this class was generated from the following file: