C# Class NBitcoin.BouncyCastle.Crypto.Utilities.Pack

Exibir arquivo Open project: Nethereum/Nethereum

Public Methods

Method Description
BE_To_UInt16 ( byte bs ) : ushort
BE_To_UInt16 ( byte bs, int off ) : ushort
BE_To_UInt32 ( byte bs ) : uint
BE_To_UInt32 ( byte bs, int off ) : uint
BE_To_UInt32 ( byte bs, int off, uint ns ) : void
BE_To_UInt64 ( byte bs ) : ulong
BE_To_UInt64 ( byte bs, int off ) : ulong
BE_To_UInt64 ( byte bs, int off, ulong ns ) : void
LE_To_UInt16 ( byte bs ) : ushort
LE_To_UInt16 ( byte bs, int off ) : ushort
LE_To_UInt32 ( byte bs ) : uint
LE_To_UInt32 ( byte bs, int off ) : uint
LE_To_UInt32 ( byte bs, int off, int count ) : uint[]
LE_To_UInt32 ( byte bs, int off, uint ns ) : void
LE_To_UInt32 ( byte bs, int bOff, uint ns, int nOff, int count ) : void
LE_To_UInt64 ( byte bs ) : ulong
LE_To_UInt64 ( byte bs, int off ) : ulong
UInt16_To_BE ( ushort n, byte bs ) : void
UInt16_To_BE ( ushort n, byte bs, int off ) : void
UInt16_To_LE ( ushort n, byte bs ) : void
UInt16_To_LE ( ushort n, byte bs, int off ) : void
UInt32_To_BE ( uint n ) : byte[]
UInt32_To_BE ( uint n, byte bs ) : void
UInt32_To_BE ( uint n, byte bs, int off ) : void
UInt32_To_LE ( uint n ) : byte[]
UInt32_To_LE ( uint n, byte bs ) : void
UInt32_To_LE ( uint n, byte bs, int off ) : void
UInt64_To_BE ( ulong n ) : byte[]
UInt64_To_BE ( ulong n, byte bs ) : void
UInt64_To_BE ( ulong n, byte bs, int off ) : void
UInt64_To_LE ( ulong n ) : byte[]
UInt64_To_LE ( ulong n, byte bs ) : void
UInt64_To_LE ( ulong n, byte bs, int off ) : void

Private Methods

Method Description
Pack ( )

Method Details

BE_To_UInt16() public static method

public static BE_To_UInt16 ( byte bs ) : ushort
bs byte
return ushort

BE_To_UInt16() public static method

public static BE_To_UInt16 ( byte bs, int off ) : ushort
bs byte
off int
return ushort

BE_To_UInt32() public static method

public static BE_To_UInt32 ( byte bs ) : uint
bs byte
return uint

BE_To_UInt32() public static method

public static BE_To_UInt32 ( byte bs, int off ) : uint
bs byte
off int
return uint

BE_To_UInt32() public static method

public static BE_To_UInt32 ( byte bs, int off, uint ns ) : void
bs byte
off int
ns uint
return void

BE_To_UInt64() public static method

public static BE_To_UInt64 ( byte bs ) : ulong
bs byte
return ulong

BE_To_UInt64() public static method

public static BE_To_UInt64 ( byte bs, int off ) : ulong
bs byte
off int
return ulong

BE_To_UInt64() public static method

public static BE_To_UInt64 ( byte bs, int off, ulong ns ) : void
bs byte
off int
ns ulong
return void

LE_To_UInt16() public static method

public static LE_To_UInt16 ( byte bs ) : ushort
bs byte
return ushort

LE_To_UInt16() public static method

public static LE_To_UInt16 ( byte bs, int off ) : ushort
bs byte
off int
return ushort

LE_To_UInt32() public static method

public static LE_To_UInt32 ( byte bs ) : uint
bs byte
return uint

LE_To_UInt32() public static method

public static LE_To_UInt32 ( byte bs, int off ) : uint
bs byte
off int
return uint

LE_To_UInt32() public static method

public static LE_To_UInt32 ( byte bs, int off, int count ) : uint[]
bs byte
off int
count int
return uint[]

LE_To_UInt32() public static method

public static LE_To_UInt32 ( byte bs, int off, uint ns ) : void
bs byte
off int
ns uint
return void

LE_To_UInt32() public static method

public static LE_To_UInt32 ( byte bs, int bOff, uint ns, int nOff, int count ) : void
bs byte
bOff int
ns uint
nOff int
count int
return void

LE_To_UInt64() public static method

public static LE_To_UInt64 ( byte bs ) : ulong
bs byte
return ulong

LE_To_UInt64() public static method

public static LE_To_UInt64 ( byte bs, int off ) : ulong
bs byte
off int
return ulong

UInt16_To_BE() public static method

public static UInt16_To_BE ( ushort n, byte bs ) : void
n ushort
bs byte
return void

UInt16_To_BE() public static method

public static UInt16_To_BE ( ushort n, byte bs, int off ) : void
n ushort
bs byte
off int
return void

UInt16_To_LE() public static method

public static UInt16_To_LE ( ushort n, byte bs ) : void
n ushort
bs byte
return void

UInt16_To_LE() public static method

public static UInt16_To_LE ( ushort n, byte bs, int off ) : void
n ushort
bs byte
off int
return void

UInt32_To_BE() public static method

public static UInt32_To_BE ( uint n ) : byte[]
n uint
return byte[]

UInt32_To_BE() public static method

public static UInt32_To_BE ( uint n, byte bs ) : void
n uint
bs byte
return void

UInt32_To_BE() public static method

public static UInt32_To_BE ( uint n, byte bs, int off ) : void
n uint
bs byte
off int
return void

UInt32_To_LE() public static method

public static UInt32_To_LE ( uint n ) : byte[]
n uint
return byte[]

UInt32_To_LE() public static method

public static UInt32_To_LE ( uint n, byte bs ) : void
n uint
bs byte
return void

UInt32_To_LE() public static method

public static UInt32_To_LE ( uint n, byte bs, int off ) : void
n uint
bs byte
off int
return void

UInt64_To_BE() public static method

public static UInt64_To_BE ( ulong n ) : byte[]
n ulong
return byte[]

UInt64_To_BE() public static method

public static UInt64_To_BE ( ulong n, byte bs ) : void
n ulong
bs byte
return void

UInt64_To_BE() public static method

public static UInt64_To_BE ( ulong n, byte bs, int off ) : void
n ulong
bs byte
off int
return void

UInt64_To_LE() public static method

public static UInt64_To_LE ( ulong n ) : byte[]
n ulong
return byte[]

UInt64_To_LE() public static method

public static UInt64_To_LE ( ulong n, byte bs ) : void
n ulong
bs byte
return void

UInt64_To_LE() public static method

public static UInt64_To_LE ( ulong n, byte bs, int off ) : void
n ulong
bs byte
off int
return void