C# Class UnityEngine.Networking.NetBuffer

Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
FinishMessage ( ) : void
NetBuffer ( ) : System
NetBuffer ( byte buffer ) : System
ReadByte ( ) : byte
ReadBytes ( byte buffer, uint count ) : void
ReadChars ( char buffer, uint count ) : void
Replace ( byte buffer ) : void
SeekZero ( ) : void
ToString ( ) : string
WriteByte ( byte value ) : void
WriteByte2 ( byte value0, byte value1 ) : void
WriteByte4 ( byte value0, byte value1, byte value2, byte value3 ) : void
WriteByte8 ( byte value0, byte value1, byte value2, byte value3, byte value4, byte value5, byte value6, byte value7 ) : void
WriteBytes ( byte buffer, ushort count ) : void
WriteBytesAtOffset ( byte buffer, ushort targetOffset, ushort count ) : void

Private Methods

Method Description
AsArraySegment ( ) : ArraySegment
WriteCheckForSpace ( ushort count ) : void

Method Details

FinishMessage() public method

public FinishMessage ( ) : void
return void

NetBuffer() public method

public NetBuffer ( ) : System
return System

NetBuffer() public method

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

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( byte buffer, uint count ) : void
buffer byte
count uint
return void

ReadChars() public method

public ReadChars ( char buffer, uint count ) : void
buffer char
count uint
return void

Replace() public method

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

SeekZero() public method

public SeekZero ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

WriteByte() public method

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

WriteByte2() public method

public WriteByte2 ( byte value0, byte value1 ) : void
value0 byte
value1 byte
return void

WriteByte4() public method

public WriteByte4 ( byte value0, byte value1, byte value2, byte value3 ) : void
value0 byte
value1 byte
value2 byte
value3 byte
return void

WriteByte8() public method

public WriteByte8 ( byte value0, byte value1, byte value2, byte value3, byte value4, byte value5, byte value6, byte value7 ) : void
value0 byte
value1 byte
value2 byte
value3 byte
value4 byte
value5 byte
value6 byte
value7 byte
return void

WriteBytes() public method

public WriteBytes ( byte buffer, ushort count ) : void
buffer byte
count ushort
return void

WriteBytesAtOffset() public method

public WriteBytesAtOffset ( byte buffer, ushort targetOffset, ushort count ) : void
buffer byte
targetOffset ushort
count ushort
return void