C# Class openCrypto.TLS.BitConverterBE

ファイルを表示 Open project: kazuki/opencrypto-tls Class Usage Examples

Public Methods

Method Description
ReadUInt16 ( byte buffer, int offset ) : ushort
ReadUInt16AndMoveOffset ( byte buffer, int &offset ) : ushort
ReadUInt24 ( byte buffer, int offset ) : uint
ReadUInt24AndMoveOffset ( byte buffer, int &offset ) : uint
ReadUInt32 ( byte buffer, int offset ) : uint
ReadUInt32AndMoveOffset ( byte buffer, int &offset ) : uint
WriteUInt16 ( ushort value, byte buffer, int offset ) : int
WriteUInt24 ( uint value, byte buffer, int offset ) : int
WriteUInt32 ( uint value, byte buffer, int offset ) : int
WriteUInt64 ( ulong value, byte buffer, int offset ) : int

Method Details

ReadUInt16() public static method

public static ReadUInt16 ( byte buffer, int offset ) : ushort
buffer byte
offset int
return ushort

ReadUInt16AndMoveOffset() public static method

public static ReadUInt16AndMoveOffset ( byte buffer, int &offset ) : ushort
buffer byte
offset int
return ushort

ReadUInt24() public static method

public static ReadUInt24 ( byte buffer, int offset ) : uint
buffer byte
offset int
return uint

ReadUInt24AndMoveOffset() public static method

public static ReadUInt24AndMoveOffset ( byte buffer, int &offset ) : uint
buffer byte
offset int
return uint

ReadUInt32() public static method

public static ReadUInt32 ( byte buffer, int offset ) : uint
buffer byte
offset int
return uint

ReadUInt32AndMoveOffset() public static method

public static ReadUInt32AndMoveOffset ( byte buffer, int &offset ) : uint
buffer byte
offset int
return uint

WriteUInt16() public static method

public static WriteUInt16 ( ushort value, byte buffer, int offset ) : int
value ushort
buffer byte
offset int
return int

WriteUInt24() public static method

public static WriteUInt24 ( uint value, byte buffer, int offset ) : int
value uint
buffer byte
offset int
return int

WriteUInt32() public static method

public static WriteUInt32 ( uint value, byte buffer, int offset ) : int
value uint
buffer byte
offset int
return int

WriteUInt64() public static method

public static WriteUInt64 ( ulong value, byte buffer, int offset ) : int
value ulong
buffer byte
offset int
return int