C# Class Medusa.Siren.IO.OutputMemoryStream

Inheritance: IOutputStream
显示文件 Open project: fjz13/Medusa Class Usage Examples

Public Methods

Method Description
OutputMemoryStream ( ) : System
OutputMemoryStream ( int length ) : System
ToBuffer ( ) : ArraySegment
WriteBytes ( byte data ) : void
WriteDouble ( double value ) : void
WriteFloat ( float value ) : void
WriteString ( string value ) : void
WriteUInt16 ( ushort value ) : void
WriteUInt32 ( uint value ) : void
WriteUInt64 ( ulong value ) : void
WriteUInt8 ( byte value ) : void
WriteVarUInt16 ( ushort value ) : void
WriteVarUInt32 ( uint value ) : void
WriteVarUInt64 ( ulong value ) : void

Method Details

OutputMemoryStream() public method

public OutputMemoryStream ( ) : System
return System

OutputMemoryStream() public method

public OutputMemoryStream ( int length ) : System
length int
return System

ToBuffer() public method

public ToBuffer ( ) : ArraySegment
return ArraySegment

WriteBytes() public method

public WriteBytes ( byte data ) : void
data byte
return void

WriteDouble() public method

public WriteDouble ( double value ) : void
value double
return void

WriteFloat() public method

public WriteFloat ( float value ) : void
value float
return void

WriteString() public method

public WriteString ( string value ) : void
value string
return void

WriteUInt16() public method

public WriteUInt16 ( ushort value ) : void
value ushort
return void

WriteUInt32() public method

public WriteUInt32 ( uint value ) : void
value uint
return void

WriteUInt64() public method

public WriteUInt64 ( ulong value ) : void
value ulong
return void

WriteUInt8() public method

public WriteUInt8 ( byte value ) : void
value byte
return void

WriteVarUInt16() public method

public WriteVarUInt16 ( ushort value ) : void
value ushort
return void

WriteVarUInt32() public method

public WriteVarUInt32 ( uint value ) : void
value uint
return void

WriteVarUInt64() public method

public WriteVarUInt64 ( ulong value ) : void
value ulong
return void