C# Class Paymetheus.Bitcoin.Util.LittleEndian

Exibir arquivo Open project: btcsuite/Paymetheus

Public Methods

Method Description
ToInt16 ( byte array, int offset ) : short
ToInt32 ( byte array, int offset ) : int
ToInt64 ( byte array, int offset ) : long
ToUInt16 ( byte array, int offset ) : ushort
ToUInt32 ( byte array, int offset ) : uint
ToUInt64 ( byte array, int offset ) : ulong
WriteInt16 ( byte array, int offset, short value ) : void
WriteInt32 ( byte array, int offset, int value ) : void
WriteInt64 ( byte array, int offset, long value ) : void
WriteUInt16 ( byte array, int offset, ushort value ) : void
WriteUInt32 ( byte array, int offset, uint value ) : void
WriteUInt64 ( byte array, int offset, ulong value ) : void

Private Methods

Method Description
BoundsCheck ( byte array, int offset, int fieldLength ) : void

Method Details

ToInt16() public static method

public static ToInt16 ( byte array, int offset ) : short
array byte
offset int
return short

ToInt32() public static method

public static ToInt32 ( byte array, int offset ) : int
array byte
offset int
return int

ToInt64() public static method

public static ToInt64 ( byte array, int offset ) : long
array byte
offset int
return long

ToUInt16() public static method

public static ToUInt16 ( byte array, int offset ) : ushort
array byte
offset int
return ushort

ToUInt32() public static method

public static ToUInt32 ( byte array, int offset ) : uint
array byte
offset int
return uint

ToUInt64() public static method

public static ToUInt64 ( byte array, int offset ) : ulong
array byte
offset int
return ulong

WriteInt16() public static method

public static WriteInt16 ( byte array, int offset, short value ) : void
array byte
offset int
value short
return void

WriteInt32() public static method

public static WriteInt32 ( byte array, int offset, int value ) : void
array byte
offset int
value int
return void

WriteInt64() public static method

public static WriteInt64 ( byte array, int offset, long value ) : void
array byte
offset int
value long
return void

WriteUInt16() public static method

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

WriteUInt32() public static method

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

WriteUInt64() public static method

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