C# Class Railgun.FixedByteBuffer8

Show file Open project: ashoulson/RailgunNet Class Usage Examples

Public Properties

Property Type Description
val0 byte
val1 byte
val2 byte
val3 byte
val4 byte
val5 byte
val6 byte
val7 byte

Public Methods

Method Description
FixedByteBuffer8 ( byte val0, byte val1, byte val2, byte val3, byte val4, byte val5, byte val6, byte val7 ) : System
FixedByteBuffer8 ( byte buffer, int count ) : System
Output ( byte buffer ) : void
OutputBuffered ( ) : byte[]

Outputs to a pre-allocated per-thread byte buffer. Note that this buffer is reused between calls and may be overwritten.

Private Methods

Method Description
FixedByteBuffer8 ( uint first, uint second ) : System
Pack ( byte a, byte b, byte c, byte d ) : uint
Read ( RailBitBuffer buffer ) : FixedByteBuffer8
Unpack ( uint value, byte &a, byte &b, byte &c, byte &d ) : void
Write ( RailBitBuffer buffer ) : void

Method Details

FixedByteBuffer8() public method

public FixedByteBuffer8 ( byte val0, byte val1, byte val2, byte val3, byte val4, byte val5, byte val6, byte val7 ) : System
val0 byte
val1 byte
val2 byte
val3 byte
val4 byte
val5 byte
val6 byte
val7 byte
return System

FixedByteBuffer8() public method

public FixedByteBuffer8 ( byte buffer, int count ) : System
buffer byte
count int
return System

Output() public method

public Output ( byte buffer ) : void
buffer byte
return void

OutputBuffered() public method

Outputs to a pre-allocated per-thread byte buffer. Note that this buffer is reused between calls and may be overwritten.
public OutputBuffered ( ) : byte[]
return byte[]

Property Details

val0 public property

public byte val0
return byte

val1 public property

public byte val1
return byte

val2 public property

public byte val2
return byte

val3 public property

public byte val3
return byte

val4 public property

public byte val4
return byte

val5 public property

public byte val5
return byte

val6 public property

public byte val6
return byte

val7 public property

public byte val7
return byte