C# 클래스 NBitcoin.BouncyCastle.Utilities.Arrays

General array utilities.
파일 보기 프로젝트 열기: Nethereum/Nethereum

공개 메소드들

메소드 설명
Append ( byte a, byte b ) : byte[]
Append ( int a, int b ) : int[]
Append ( short a, short b ) : short[]
AreEqual ( bool a, bool b ) : bool
AreEqual ( byte a, byte b ) : bool

Are two arrays equal.

AreEqual ( char a, char b ) : bool
AreEqual ( int a, int b ) : bool
Clone ( byte data ) : byte[]
Clone ( byte data, byte existing ) : byte[]
Clone ( int data ) : int[]
Clone ( long data ) : long[]
Clone ( uint data ) : uint[]
Concatenate ( byte a, byte b ) : byte[]
Concatenate ( int a, int b ) : int[]
ConcatenateAll ( ) : byte[]
ConstantTimeAreEqual ( byte a, byte b ) : bool

A constant time equals comparison - does not terminate early if test will fail.

Contains ( byte a, byte n ) : bool
Contains ( int a, int n ) : bool
Contains ( short a, short n ) : bool
CopyOf ( NBitcoin.BouncyCastle.Math.BigInteger data, int newLength ) : NBitcoin.BouncyCastle.Math.BigInteger[]
CopyOf ( byte data, int newLength ) : byte[]
CopyOf ( char data, int newLength ) : char[]
CopyOf ( int data, int newLength ) : int[]
CopyOf ( long data, int newLength ) : long[]
CopyOfRange ( NBitcoin.BouncyCastle.Math.BigInteger data, int from, int to ) : NBitcoin.BouncyCastle.Math.BigInteger[]
CopyOfRange ( byte data, int from, int to ) : byte[]
CopyOfRange ( int data, int from, int to ) : int[]
CopyOfRange ( long data, int from, int to ) : long[]
Fill ( byte buf, byte b ) : void
GetHashCode ( byte data ) : int
GetHashCode ( byte data, int off, int len ) : int
GetHashCode ( int data ) : int
GetHashCode ( int data, int off, int len ) : int
Prepend ( byte a, byte b ) : byte[]
Prepend ( int a, int b ) : int[]
Prepend ( short a, short b ) : short[]
Reverse ( byte a ) : byte[]
Reverse ( int a ) : int[]
ToString ( object a ) : string

비공개 메소드들

메소드 설명
AreEqual ( uint a, uint b ) : bool
AreSame ( byte a, byte b ) : bool
Clone ( ulong data ) : ulong[]
Clone ( ulong data, ulong existing ) : ulong[]
GetHashCode ( uint data ) : int
GetHashCode ( uint data, int off, int len ) : int
GetHashCode ( ulong data ) : int
GetHashCode ( ulong data, int off, int len ) : int
GetLength ( int from, int to ) : int
HaveSameContents ( bool a, bool b ) : bool
HaveSameContents ( byte a, byte b ) : bool
HaveSameContents ( char a, char b ) : bool
HaveSameContents ( int a, int b ) : bool
HaveSameContents ( uint a, uint b ) : bool

메소드 상세

Append() 공개 정적인 메소드

public static Append ( byte a, byte b ) : byte[]
a byte
b byte
리턴 byte[]

Append() 공개 정적인 메소드

public static Append ( int a, int b ) : int[]
a int
b int
리턴 int[]

Append() 공개 정적인 메소드

public static Append ( short a, short b ) : short[]
a short
b short
리턴 short[]

AreEqual() 공개 정적인 메소드

public static AreEqual ( bool a, bool b ) : bool
a bool
b bool
리턴 bool

AreEqual() 공개 정적인 메소드

Are two arrays equal.
public static AreEqual ( byte a, byte b ) : bool
a byte Left side.
b byte Right side.
리턴 bool

AreEqual() 공개 정적인 메소드

public static AreEqual ( char a, char b ) : bool
a char
b char
리턴 bool

AreEqual() 공개 정적인 메소드

public static AreEqual ( int a, int b ) : bool
a int
b int
리턴 bool

Clone() 공개 정적인 메소드

public static Clone ( byte data ) : byte[]
data byte
리턴 byte[]

Clone() 공개 정적인 메소드

public static Clone ( byte data, byte existing ) : byte[]
data byte
existing byte
리턴 byte[]

Clone() 공개 정적인 메소드

public static Clone ( int data ) : int[]
data int
리턴 int[]

Clone() 공개 정적인 메소드

public static Clone ( long data ) : long[]
data long
리턴 long[]

Clone() 공개 정적인 메소드

public static Clone ( uint data ) : uint[]
data uint
리턴 uint[]

Concatenate() 공개 정적인 메소드

public static Concatenate ( byte a, byte b ) : byte[]
a byte
b byte
리턴 byte[]

Concatenate() 공개 정적인 메소드

public static Concatenate ( int a, int b ) : int[]
a int
b int
리턴 int[]

ConcatenateAll() 공개 정적인 메소드

public static ConcatenateAll ( ) : byte[]
리턴 byte[]

ConstantTimeAreEqual() 공개 정적인 메소드

A constant time equals comparison - does not terminate early if test will fail.
public static ConstantTimeAreEqual ( byte a, byte b ) : bool
a byte first array
b byte second array
리턴 bool

Contains() 공개 정적인 메소드

public static Contains ( byte a, byte n ) : bool
a byte
n byte
리턴 bool

Contains() 공개 정적인 메소드

public static Contains ( int a, int n ) : bool
a int
n int
리턴 bool

Contains() 공개 정적인 메소드

public static Contains ( short a, short n ) : bool
a short
n short
리턴 bool

CopyOf() 공개 정적인 메소드

public static CopyOf ( NBitcoin.BouncyCastle.Math.BigInteger data, int newLength ) : NBitcoin.BouncyCastle.Math.BigInteger[]
data NBitcoin.BouncyCastle.Math.BigInteger
newLength int
리턴 NBitcoin.BouncyCastle.Math.BigInteger[]

CopyOf() 공개 정적인 메소드

public static CopyOf ( byte data, int newLength ) : byte[]
data byte
newLength int
리턴 byte[]

CopyOf() 공개 정적인 메소드

public static CopyOf ( char data, int newLength ) : char[]
data char
newLength int
리턴 char[]

CopyOf() 공개 정적인 메소드

public static CopyOf ( int data, int newLength ) : int[]
data int
newLength int
리턴 int[]

CopyOf() 공개 정적인 메소드

public static CopyOf ( long data, int newLength ) : long[]
data long
newLength int
리턴 long[]

CopyOfRange() 공개 정적인 메소드

public static CopyOfRange ( NBitcoin.BouncyCastle.Math.BigInteger data, int from, int to ) : NBitcoin.BouncyCastle.Math.BigInteger[]
data NBitcoin.BouncyCastle.Math.BigInteger
from int
to int
리턴 NBitcoin.BouncyCastle.Math.BigInteger[]

CopyOfRange() 공개 정적인 메소드

public static CopyOfRange ( byte data, int from, int to ) : byte[]
data byte
from int
to int
리턴 byte[]

CopyOfRange() 공개 정적인 메소드

public static CopyOfRange ( int data, int from, int to ) : int[]
data int
from int
to int
리턴 int[]

CopyOfRange() 공개 정적인 메소드

public static CopyOfRange ( long data, int from, int to ) : long[]
data long
from int
to int
리턴 long[]

Fill() 공개 정적인 메소드

public static Fill ( byte buf, byte b ) : void
buf byte
b byte
리턴 void

GetHashCode() 공개 정적인 메소드

public static GetHashCode ( byte data ) : int
data byte
리턴 int

GetHashCode() 공개 정적인 메소드

public static GetHashCode ( byte data, int off, int len ) : int
data byte
off int
len int
리턴 int

GetHashCode() 공개 정적인 메소드

public static GetHashCode ( int data ) : int
data int
리턴 int

GetHashCode() 공개 정적인 메소드

public static GetHashCode ( int data, int off, int len ) : int
data int
off int
len int
리턴 int

Prepend() 공개 정적인 메소드

public static Prepend ( byte a, byte b ) : byte[]
a byte
b byte
리턴 byte[]

Prepend() 공개 정적인 메소드

public static Prepend ( int a, int b ) : int[]
a int
b int
리턴 int[]

Prepend() 공개 정적인 메소드

public static Prepend ( short a, short b ) : short[]
a short
b short
리턴 short[]

Reverse() 공개 정적인 메소드

public static Reverse ( byte a ) : byte[]
a byte
리턴 byte[]

Reverse() 공개 정적인 메소드

public static Reverse ( int a ) : int[]
a int
리턴 int[]

ToString() 공개 정적인 메소드

public static ToString ( object a ) : string
a object
리턴 string