C# Class SharpCifs.Util.Encdec

Datei anzeigen Open project: brandonprry/Potato

Public Methods

Method Description
Dec_doublebe ( byte src, int si ) : double
Dec_doublele ( byte src, int si ) : double
Dec_floatbe ( byte src, int si ) : float
Dec_floatle ( byte src, int si ) : float
Dec_time ( byte src, int si, int enc ) : System.DateTime
Dec_ucs2le ( byte src, int si, int slim, char buf ) : string
Dec_uint16be ( byte src, int si ) : short
Dec_uint16le ( byte src, int si ) : short
Dec_uint32be ( byte src, int si ) : int
Dec_uint32le ( byte src, int si ) : int
Dec_uint64be ( byte src, int si ) : long
Dec_uint64le ( byte src, int si ) : long
Dec_utf8 ( byte src, int si, int slim ) : string
Enc_doublebe ( double d, byte dst, int di ) : int
Enc_doublele ( double d, byte dst, int di ) : int
Enc_floatbe ( float f, byte dst, int di ) : int
Enc_floatle ( float f, byte dst, int di ) : int
Enc_time ( System.DateTime date, byte dst, int di, int enc ) : int
Enc_uint16be ( short s, byte dst, int di ) : int
Enc_uint16le ( short s, byte dst, int di ) : int
Enc_uint32be ( int i, byte dst, int di ) : int
Enc_uint32le ( int i, byte dst, int di ) : int
Enc_uint64be ( long l, byte dst, int di ) : int
Enc_uint64le ( long l, byte dst, int di ) : int
Enc_utf8 ( string str, byte dst, int di, int dlim ) : int

Method Details

Dec_doublebe() public static method

public static Dec_doublebe ( byte src, int si ) : double
src byte
si int
return double

Dec_doublele() public static method

public static Dec_doublele ( byte src, int si ) : double
src byte
si int
return double

Dec_floatbe() public static method

public static Dec_floatbe ( byte src, int si ) : float
src byte
si int
return float

Dec_floatle() public static method

public static Dec_floatle ( byte src, int si ) : float
src byte
si int
return float

Dec_time() public static method

public static Dec_time ( byte src, int si, int enc ) : System.DateTime
src byte
si int
enc int
return System.DateTime

Dec_ucs2le() public static method

public static Dec_ucs2le ( byte src, int si, int slim, char buf ) : string
src byte
si int
slim int
buf char
return string

Dec_uint16be() public static method

public static Dec_uint16be ( byte src, int si ) : short
src byte
si int
return short

Dec_uint16le() public static method

public static Dec_uint16le ( byte src, int si ) : short
src byte
si int
return short

Dec_uint32be() public static method

public static Dec_uint32be ( byte src, int si ) : int
src byte
si int
return int

Dec_uint32le() public static method

public static Dec_uint32le ( byte src, int si ) : int
src byte
si int
return int

Dec_uint64be() public static method

public static Dec_uint64be ( byte src, int si ) : long
src byte
si int
return long

Dec_uint64le() public static method

public static Dec_uint64le ( byte src, int si ) : long
src byte
si int
return long

Dec_utf8() public static method

public static Dec_utf8 ( byte src, int si, int slim ) : string
src byte
si int
slim int
return string

Enc_doublebe() public static method

public static Enc_doublebe ( double d, byte dst, int di ) : int
d double
dst byte
di int
return int

Enc_doublele() public static method

public static Enc_doublele ( double d, byte dst, int di ) : int
d double
dst byte
di int
return int

Enc_floatbe() public static method

public static Enc_floatbe ( float f, byte dst, int di ) : int
f float
dst byte
di int
return int

Enc_floatle() public static method

public static Enc_floatle ( float f, byte dst, int di ) : int
f float
dst byte
di int
return int

Enc_time() public static method

public static Enc_time ( System.DateTime date, byte dst, int di, int enc ) : int
date System.DateTime
dst byte
di int
enc int
return int

Enc_uint16be() public static method

public static Enc_uint16be ( short s, byte dst, int di ) : int
s short
dst byte
di int
return int

Enc_uint16le() public static method

public static Enc_uint16le ( short s, byte dst, int di ) : int
s short
dst byte
di int
return int

Enc_uint32be() public static method

public static Enc_uint32be ( int i, byte dst, int di ) : int
i int
dst byte
di int
return int

Enc_uint32le() public static method

public static Enc_uint32le ( int i, byte dst, int di ) : int
i int
dst byte
di int
return int

Enc_uint64be() public static method

public static Enc_uint64be ( long l, byte dst, int di ) : int
l long
dst byte
di int
return int

Enc_uint64le() public static method

public static Enc_uint64le ( long l, byte dst, int di ) : int
l long
dst byte
di int
return int

Enc_utf8() public static method

public static Enc_utf8 ( string str, byte dst, int di, int dlim ) : int
str string
dst byte
di int
dlim int
return int