C# Class ScriptRuntime.NetworkStreamReader

网络流读取类
Inheritance: ScriptRuntime.Base
Mostra file Open project: Genesis-3D/Genesis-3D Class Usage Examples

Public Methods

Method Description
Length ( ) : UInt32

获取网络流长度

NetworkStreamReader ( ) : System

网络流读取构造函数

Offset ( ) : UInt32

获取偏移量

ReadInt16 ( ) : Int16

从网络流中读取带符号的16位数据

ReadInt32 ( ) : Int32

从网络流中读取带符号的32位数据

ReadInt64 ( ) : System.Int64

从网络流中读取带符号的64位数据

ReadInt8 ( ) : sbyte

从网络流中读取带符号的8位数据

ReadReal32 ( ) : float

从网络流中读取32位浮点数数据

ReadReal64 ( ) : double

从网络流中读取64位浮点数数据

ReadString ( ) : String

从网络流中读取字符串

ReadUint16 ( ) : UInt16

从网络流中读取无符号的16位数据

ReadUint32 ( ) : UInt32

从网络流中读取无符号的32位数据

ReadUint64 ( ) : System.UInt64

从网络流中读取无符号的64位数据

ReadUint8 ( ) : byte

从网络流中读取无符号的8位数据

Seek ( UInt32 dwOffset ) : void

设置偏移量

Private Methods

Method Description
ICall_NetworkStreamReader_Bind ( NetworkStreamReader self ) : void
ICall_NetworkStreamReader_Length ( NetworkStreamReader self, UInt32 &len ) : void
ICall_NetworkStreamReader_Offset ( NetworkStreamReader self, UInt32 &offset ) : void
ICall_NetworkStreamReader_ReadInt16 ( NetworkStreamReader self, Int32 &read ) : void
ICall_NetworkStreamReader_ReadInt32 ( NetworkStreamReader self, Int32 &read ) : void
ICall_NetworkStreamReader_ReadInt64 ( NetworkStreamReader self, System.Int64 &read ) : void
ICall_NetworkStreamReader_ReadInt8 ( NetworkStreamReader self, Int32 &read ) : void
ICall_NetworkStreamReader_ReadReal32 ( NetworkStreamReader self, float &read ) : void
ICall_NetworkStreamReader_ReadReal64 ( NetworkStreamReader self, double &read ) : void
ICall_NetworkStreamReader_ReadString ( NetworkStreamReader self ) : String
ICall_NetworkStreamReader_ReadUint16 ( NetworkStreamReader self, UInt32 &read ) : void
ICall_NetworkStreamReader_ReadUint32 ( NetworkStreamReader self, UInt32 &read ) : void
ICall_NetworkStreamReader_ReadUint64 ( NetworkStreamReader self, System.UInt64 &read ) : void
ICall_NetworkStreamReader_ReadUint8 ( NetworkStreamReader self, UInt32 &read ) : void
ICall_NetworkStreamReader_Release ( NetworkStreamReader obj ) : void
ICall_NetworkStreamReader_Seek ( NetworkStreamReader self, UInt32 &dwOffset ) : void
NetworkStreamReader ( DummyClass__ dummyObj ) : System

Method Details

Length() public method

获取网络流长度
public Length ( ) : UInt32
return System.UInt32

NetworkStreamReader() public method

网络流读取构造函数
public NetworkStreamReader ( ) : System
return System

Offset() public method

获取偏移量
public Offset ( ) : UInt32
return System.UInt32

ReadInt16() public method

从网络流中读取带符号的16位数据
public ReadInt16 ( ) : Int16
return System.Int16

ReadInt32() public method

从网络流中读取带符号的32位数据
public ReadInt32 ( ) : Int32
return System.Int32

ReadInt64() public method

从网络流中读取带符号的64位数据
public ReadInt64 ( ) : System.Int64
return System.Int64

ReadInt8() public method

从网络流中读取带符号的8位数据
public ReadInt8 ( ) : sbyte
return sbyte

ReadReal32() public method

从网络流中读取32位浮点数数据
public ReadReal32 ( ) : float
return float

ReadReal64() public method

从网络流中读取64位浮点数数据
public ReadReal64 ( ) : double
return double

ReadString() public method

从网络流中读取字符串
public ReadString ( ) : String
return String

ReadUint16() public method

从网络流中读取无符号的16位数据
public ReadUint16 ( ) : UInt16
return System.UInt16

ReadUint32() public method

从网络流中读取无符号的32位数据
public ReadUint32 ( ) : UInt32
return System.UInt32

ReadUint64() public method

从网络流中读取无符号的64位数据
public ReadUint64 ( ) : System.UInt64
return System.UInt64

ReadUint8() public method

从网络流中读取无符号的8位数据
public ReadUint8 ( ) : byte
return byte

Seek() public method

设置偏移量
public Seek ( UInt32 dwOffset ) : void
dwOffset System.UInt32 偏移量
return void