메소드 | 설명 | |
---|---|---|
EnsureBufferSize ( int numberOfBits ) : void |
Ensures the buffer can hold this number of bits
|
|
InternalEnsureBufferSize ( int numberOfBits ) : void |
Ensures the buffer can hold this number of bits
|
|
PeekDataBuffer ( ) : byte[] |
Returns the internal data buffer, don't modify
|
|
Write ( |
Writes an endpoint description
|
|
Write ( |
Writes a signed 16 bit integer
|
|
Write ( |
Writes a 32 bit signed integer
|
|
Write ( |
Writes a signed integer using 1 to 32 bits
|
|
Write ( System.Int64 source ) : void |
Writes a 64 bit signed integer
|
|
Write ( System.Int64 source, int numberOfBits ) : void |
Writes a signed integer using 1 to 64 bits
|
|
Write ( |
Append all the bits of message to this message
|
|
Write ( |
Append all the bits of message to this message
|
|
Write ( |
Writes an unsigned 16 bit integer
|
|
Write ( |
Writes an unsigned integer using 1 to 16 bits
|
|
Write ( |
Writes a 32 bit unsigned integer
|
|
Write ( |
Writes a 32 bit signed integer
|
|
Write ( System.UInt64 source ) : void |
Writes a 64 bit unsigned integer
|
|
Write ( System.UInt64 source, int numberOfBits ) : void |
Writes an unsigned integer using 1 to 64 bits
|
|
Write ( bool value ) : void |
Writes a boolean value using 1 bit
|
|
Write ( byte source ) : void |
Write a byte
|
|
Write ( byte source, int numberOfBits ) : void |
Writes 1 to 8 bits of a byte
|
|
Write ( byte source, int offsetInBytes, int numberOfBytes ) : void |
Writes the specified number of bytes from an array
|
|
Write ( double source ) : void |
Writes a 64 bit floating point value
|
|
Write ( float source ) : void |
Writes a 32 bit floating point value
|
|
Write ( sbyte source ) : void |
Writes a signed byte
|
|
Write ( string source ) : void |
Write a string
|
|
WritePadBits ( ) : void |
Pads data with enough bits to reach a full byte. Decreases cpu usage for subsequent byte writes.
|
|
WritePadBits ( int numberOfBits ) : void |
Pads data with the specified number of bits.
|
|
WriteRangedInteger ( int min, int max, int value ) : int |
Writes an integer with the least amount of bits need for the specified range Returns number of bits written
|
|
WriteRangedSingle ( float value, float min, float max, int numberOfBits ) : void |
Compress a float within a specified range using a certain number of bits
|
|
WriteSignedSingle ( float value, int numberOfBits ) : void |
Compress (lossy) a float in the range -1..1 using numberOfBits bits
|
|
WriteTime ( double localTime, bool highPrecision ) : void |
Writes the local time to a message; readable (and convertable to local time) by the remote host using ReadTime()
|
|
WriteUnitSingle ( float value, int numberOfBits ) : void |
Compress (lossy) a float in the range 0..1 using numberOfBits bits
|
|
WriteVariableInt32 ( int value ) : int |
Write Base128 encoded variable sized signed integer of up to 32 bits
|
|
WriteVariableInt64 ( System.Int64 value ) : int |
Write Base128 encoded variable sized signed integer of up to 64 bits
|
|
WriteVariableUInt32 ( uint value ) : int |
Write Base128 encoded variable sized unsigned integer of up to 32 bits
|
|
WriteVariableUInt64 ( System.UInt64 value ) : int |
Write Base128 encoded variable sized unsigned integer of up to 64 bits
|
메소드 | 설명 | |
---|---|---|
NetOutgoingMessage ( ) : System |
public EnsureBufferSize ( int numberOfBits ) : void | ||
numberOfBits | int | |
리턴 | void |
public InternalEnsureBufferSize ( int numberOfBits ) : void | ||
numberOfBits | int | |
리턴 | void |
public Write ( |
||
source | ||
numberOfBits | int | |
리턴 | void |
public Write ( System.Int64 source, int numberOfBits ) : void | ||
source | System.Int64 | |
numberOfBits | int | |
리턴 | void |
public Write ( |
||
message | ||
리턴 | void |
public Write ( |
||
message | ||
리턴 | void |
public Write ( |
||
source | ||
numberOfBits | int | |
리턴 | void |
public Write ( |
||
source | ||
numberOfBits | int | |
리턴 | void |
public Write ( System.UInt64 source, int numberOfBits ) : void | ||
source | System.UInt64 | |
numberOfBits | int | |
리턴 | void |
public Write ( byte source, int numberOfBits ) : void | ||
source | byte | |
numberOfBits | int | |
리턴 | void |
public Write ( byte source, int offsetInBytes, int numberOfBytes ) : void | ||
source | byte | |
offsetInBytes | int | |
numberOfBytes | int | |
리턴 | void |
public WriteRangedInteger ( int min, int max, int value ) : int | ||
min | int | |
max | int | |
value | int | |
리턴 | int |
public WriteRangedSingle ( float value, float min, float max, int numberOfBits ) : void | ||
value | float | |
min | float | |
max | float | |
numberOfBits | int | |
리턴 | void |
public WriteSignedSingle ( float value, int numberOfBits ) : void | ||
value | float | |
numberOfBits | int | |
리턴 | void |
public WriteTime ( double localTime, bool highPrecision ) : void | ||
localTime | double | |
highPrecision | bool | |
리턴 | void |
public WriteUnitSingle ( float value, int numberOfBits ) : void | ||
value | float | |
numberOfBits | int | |
리턴 | void |
public WriteVariableInt64 ( System.Int64 value ) : int | ||
value | System.Int64 | |
리턴 | int |
public WriteVariableUInt64 ( System.UInt64 value ) : int | ||
value | System.UInt64 | |
리턴 | int |