C# Class DotNetWebToolkit.Web.DataView

Inheritance: ArrayBufferView
Mostra file Open project: chrisdunelm/DotNetWebToolkit Class Usage Examples

Public Methods

Method Description
DataView ( ArrayBuffer buffer ) : System
DataView ( ArrayBuffer buffer, uint byteOffset ) : System
DataView ( ArrayBuffer buffer, uint byteOffset, uint byteLength ) : System
GetFloat32 ( uint byteOffset, bool littleEndian = false ) : System.Single
GetFloat64 ( uint byteOffset, bool littleEndian = false ) : Double
GetInt16 ( uint byteOffset, bool littleEndian = false ) : Int16
GetInt32 ( uint byteOffset, bool littleEndian = false ) : Int32
GetInt8 ( uint byteOffset ) : SByte
SetFloat32 ( uint byteOffset, System.Single value, bool littleEndian = false ) : void
SetFloat64 ( uint byteOffset, Double value, bool littleEndian = false ) : void
SetInt16 ( uint byteOffset, Int16 value, bool littleEndian = false ) : void
SetInt32 ( uint byteOffset, Int32 value, bool littleEndian = false ) : void
SetInt8 ( uint byteOffset, SByte value ) : void

Private Methods

Method Description
GetUInt16 ( uint byteOffset, bool littleEndian = false ) : UInt16
GetUInt32 ( uint byteOffset, bool littleEndian = false ) : UInt32
GetUInt8 ( uint byteOffset ) : Byte
SetUInt16 ( uint byteOffset, UInt16 value, bool littleEndian = false ) : void
SetUInt32 ( uint byteOffset, UInt32 value, bool littleEndian = false ) : void
SetUInt8 ( uint byteOffset, Byte value ) : void

Method Details

DataView() public method

public DataView ( ArrayBuffer buffer ) : System
buffer ArrayBuffer
return System

DataView() public method

public DataView ( ArrayBuffer buffer, uint byteOffset ) : System
buffer ArrayBuffer
byteOffset uint
return System

DataView() public method

public DataView ( ArrayBuffer buffer, uint byteOffset, uint byteLength ) : System
buffer ArrayBuffer
byteOffset uint
byteLength uint
return System

GetFloat32() public method

public GetFloat32 ( uint byteOffset, bool littleEndian = false ) : System.Single
byteOffset uint
littleEndian bool
return System.Single

GetFloat64() public method

public GetFloat64 ( uint byteOffset, bool littleEndian = false ) : Double
byteOffset uint
littleEndian bool
return Double

GetInt16() public method

public GetInt16 ( uint byteOffset, bool littleEndian = false ) : Int16
byteOffset uint
littleEndian bool
return System.Int16

GetInt32() public method

public GetInt32 ( uint byteOffset, bool littleEndian = false ) : Int32
byteOffset uint
littleEndian bool
return System.Int32

GetInt8() public method

public GetInt8 ( uint byteOffset ) : SByte
byteOffset uint
return SByte

SetFloat32() public method

public SetFloat32 ( uint byteOffset, System.Single value, bool littleEndian = false ) : void
byteOffset uint
value System.Single
littleEndian bool
return void

SetFloat64() public method

public SetFloat64 ( uint byteOffset, Double value, bool littleEndian = false ) : void
byteOffset uint
value Double
littleEndian bool
return void

SetInt16() public method

public SetInt16 ( uint byteOffset, Int16 value, bool littleEndian = false ) : void
byteOffset uint
value System.Int16
littleEndian bool
return void

SetInt32() public method

public SetInt32 ( uint byteOffset, Int32 value, bool littleEndian = false ) : void
byteOffset uint
value System.Int32
littleEndian bool
return void

SetInt8() public method

public SetInt8 ( uint byteOffset, SByte value ) : void
byteOffset uint
value SByte
return void