C# Class Tempest.BufferValueWriter.BufferValueWriter

Inheritance: IValueWriter
Mostrar archivo Open project: ermau/Tempest

Public Methods

Method Description
BufferValueWriter ( byte buffer ) : System
Flush ( ) : void
InsertBytes ( int offset, byte value, int valueOffset, int length ) : void
Pad ( int count ) : void
ToArray ( ) : byte[]
WriteBool ( bool value ) : bool
WriteByte ( byte value ) : void
WriteBytes ( byte value ) : void
WriteBytes ( byte value, int offset, int length ) : void
WriteDecimal ( decimal value ) : void
WriteDouble ( double value ) : void
WriteInt16 ( short value ) : void
WriteInt32 ( int value ) : void
WriteInt64 ( long value ) : void
WriteSByte ( sbyte value ) : void
WriteSingle ( float value ) : void
WriteString ( Encoding encoding, string value ) : void
WriteUInt16 ( ushort value ) : void
WriteUInt32 ( uint value ) : void
WriteUInt64 ( ulong value ) : void

Private Methods

Method Description
EnsureAdditionalCapacity ( int additionalCapacity ) : void
Extend ( int bytes ) : void

Method Details

BufferValueWriter() public method

public BufferValueWriter ( byte buffer ) : System
buffer byte
return System

Flush() public method

public Flush ( ) : void
return void

InsertBytes() public method

public InsertBytes ( int offset, byte value, int valueOffset, int length ) : void
offset int
value byte
valueOffset int
length int
return void

Pad() public method

public Pad ( int count ) : void
count int
return void

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

WriteBool() public method

public WriteBool ( bool value ) : bool
value bool
return bool

WriteByte() public method

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

WriteBytes() public method

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

WriteBytes() public method

public WriteBytes ( byte value, int offset, int length ) : void
value byte
offset int
length int
return void

WriteDecimal() public method

public WriteDecimal ( decimal value ) : void
value decimal
return void

WriteDouble() public method

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

WriteInt16() public method

public WriteInt16 ( short value ) : void
value short
return void

WriteInt32() public method

public WriteInt32 ( int value ) : void
value int
return void

WriteInt64() public method

public WriteInt64 ( long value ) : void
value long
return void

WriteSByte() public method

public WriteSByte ( sbyte value ) : void
value sbyte
return void

WriteSingle() public method

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

WriteString() public method

public WriteString ( Encoding encoding, string value ) : void
encoding System.Text.Encoding
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