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

Public Member Functions

void Close ()
 
void Dispose ()
 
void Flush ()
 
long Seek (int offset, KSP.IO.SeekOrigin origin)
 
void Write (double value)
 
void Write (decimal value)
 
void Write (float value)
 
void Write (uint value)
 
void Write (string value)
 
void Write (ulong value)
 
void Write (char ch)
 
void Write (int value)
 
void Write (char[] chars, int index, int count)
 
void Write (ushort value)
 
void Write (char[] chars)
 
void Write (sbyte value)
 
void Write (byte value)
 
void Write (bool value)
 
void Write (byte[] buffer)
 
void Write (byte[] buffer, int index, int count)
 
void Write (long value)
 
void Write (short value)
 

Static Public Member Functions

static BinaryWriter CreateForType< T > (string filename, Vessel flight=null)
 Create a binary file writer. More...
 

Properties

Stream BaseStream [get]
 

Member Function Documentation

void KSP.IO.BinaryWriter.Close ( )
inline

static BinaryWriter KSP.IO.BinaryWriter.CreateForType< T > ( string  filename,
Vessel  flight = null 
)
inlinestatic

Create a binary file writer.

Template Parameters
TThe plugin type for which it is being initialized
Parameters
flightOptional flight
Returns
returns a PluginConfiguration object
void KSP.IO.BinaryWriter.Dispose ( )
inline
void KSP.IO.BinaryWriter.Flush ( )
inline

long KSP.IO.BinaryWriter.Seek ( int  offset,
KSP.IO.SeekOrigin  origin 
)
inline
void KSP.IO.BinaryWriter.Write ( double  value)
inline

void KSP.IO.BinaryWriter.Write ( decimal  value)
inline

void KSP.IO.BinaryWriter.Write ( float  value)
inline

void KSP.IO.BinaryWriter.Write ( uint  value)
inline

void KSP.IO.BinaryWriter.Write ( string  value)
inline

void KSP.IO.BinaryWriter.Write ( ulong  value)
inline

void KSP.IO.BinaryWriter.Write ( char  ch)
inline

void KSP.IO.BinaryWriter.Write ( int  value)
inline

void KSP.IO.BinaryWriter.Write ( char[]  chars,
int  index,
int  count 
)
inline

void KSP.IO.BinaryWriter.Write ( ushort  value)
inline

void KSP.IO.BinaryWriter.Write ( char[]  chars)
inline

void KSP.IO.BinaryWriter.Write ( sbyte  value)
inline

void KSP.IO.BinaryWriter.Write ( byte  value)
inline

void KSP.IO.BinaryWriter.Write ( bool  value)
inline

void KSP.IO.BinaryWriter.Write ( byte[]  buffer)
inline

void KSP.IO.BinaryWriter.Write ( byte[]  buffer,
int  index,
int  count 
)
inline

void KSP.IO.BinaryWriter.Write ( long  value)
inline

void KSP.IO.BinaryWriter.Write ( short  value)
inline

Property Documentation

Stream KSP.IO.BinaryWriter.BaseStream
get


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