C# Class Volante.Impl.Bytes

Show file Open project: kjk/volante Class Usage Examples

Public Methods

Method Description
pack2 ( byte arr, int offs, short val ) : void
pack4 ( byte arr, int offs, int val ) : void
pack8 ( byte arr, int offs, long val ) : void
packDate ( byte arr, int offs, DateTime val ) : void
packDecimal ( byte arr, int offs, decimal val ) : void
packF4 ( byte arr, int offs, float val ) : void
packF8 ( byte arr, int offs, double val ) : void
packGuid ( byte arr, int offs, Guid val ) : void
unpack2 ( byte arr, int offs ) : short
unpack4 ( byte arr, int offs ) : int
unpack8 ( byte arr, int offs ) : long
unpackDate ( byte arr, int offs ) : DateTime
unpackDecimal ( byte arr, int offs ) : decimal
unpackF4 ( byte arr, int offs ) : float
unpackF8 ( byte arr, int offs ) : double
unpackGuid ( byte arr, int offs ) : Guid
unpackString ( byte arr, int offs, string &str ) : int

Method Details

pack2() public static method

public static pack2 ( byte arr, int offs, short val ) : void
arr byte
offs int
val short
return void

pack4() public static method

public static pack4 ( byte arr, int offs, int val ) : void
arr byte
offs int
val int
return void

pack8() public static method

public static pack8 ( byte arr, int offs, long val ) : void
arr byte
offs int
val long
return void

packDate() public static method

public static packDate ( byte arr, int offs, DateTime val ) : void
arr byte
offs int
val DateTime
return void

packDecimal() public static method

public static packDecimal ( byte arr, int offs, decimal val ) : void
arr byte
offs int
val decimal
return void

packF4() public static method

public static packF4 ( byte arr, int offs, float val ) : void
arr byte
offs int
val float
return void

packF8() public static method

public static packF8 ( byte arr, int offs, double val ) : void
arr byte
offs int
val double
return void

packGuid() public static method

public static packGuid ( byte arr, int offs, Guid val ) : void
arr byte
offs int
val Guid
return void

unpack2() public static method

public static unpack2 ( byte arr, int offs ) : short
arr byte
offs int
return short

unpack4() public static method

public static unpack4 ( byte arr, int offs ) : int
arr byte
offs int
return int

unpack8() public static method

public static unpack8 ( byte arr, int offs ) : long
arr byte
offs int
return long

unpackDate() public static method

public static unpackDate ( byte arr, int offs ) : DateTime
arr byte
offs int
return DateTime

unpackDecimal() public static method

public static unpackDecimal ( byte arr, int offs ) : decimal
arr byte
offs int
return decimal

unpackF4() public static method

public static unpackF4 ( byte arr, int offs ) : float
arr byte
offs int
return float

unpackF8() public static method

public static unpackF8 ( byte arr, int offs ) : double
arr byte
offs int
return double

unpackGuid() public static method

public static unpackGuid ( byte arr, int offs ) : Guid
arr byte
offs int
return Guid

unpackString() public static method

public static unpackString ( byte arr, int offs, string &str ) : int
arr byte
offs int
str string
return int