C# Class ByteBuffer, UnityHello

Inheritance: ICloneable
Show file Open project: woshihuo12/UnityHello Class Usage Examples

Public Methods

Method Description
ByteBuffer ( ) : UnityEngine
ByteBuffer ( byte data ) : UnityEngine
Close ( ) : void
Flush ( ) : void
ReadBuffer ( ) : LuaByteBuffer
ReadByte ( ) : byte
ReadBytes ( ) : byte[]
ReadDouble ( ) : double
ReadFloat ( ) : float
ReadInt ( ) : int
ReadLong ( ) : long
ReadShort ( ) : ushort
ReadString ( ) : string
ToBytes ( ) : byte[]
WriteBuffer ( LuaByteBuffer strBuffer ) : void
WriteByte ( byte v ) : void
WriteBytes ( byte v ) : void
WriteDouble ( double v ) : void
WriteFloat ( float v ) : void
WriteInt ( int v ) : void
WriteLong ( long v ) : void
WriteShort ( ushort v ) : void
WriteString ( string v ) : void

Method Details

ByteBuffer() public method

public ByteBuffer ( ) : UnityEngine
return UnityEngine

ByteBuffer() public method

public ByteBuffer ( byte data ) : UnityEngine
data byte
return UnityEngine

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

ReadBuffer() public method

public ReadBuffer ( ) : LuaByteBuffer
return LuaByteBuffer

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

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

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt() public method

public ReadInt ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadShort() public method

public ReadShort ( ) : ushort
return ushort

ReadString() public method

public ReadString ( ) : string
return string

ToBytes() public method

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

WriteBuffer() public method

public WriteBuffer ( LuaByteBuffer strBuffer ) : void
strBuffer LuaByteBuffer
return void

WriteByte() public method

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

WriteBytes() public method

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

WriteDouble() public method

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

WriteFloat() public method

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

WriteInt() public method

public WriteInt ( int v ) : void
v int
return void

WriteLong() public method

public WriteLong ( long v ) : void
v long
return void

WriteShort() public method

public WriteShort ( ushort v ) : void
v ushort
return void

WriteString() public method

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