C# 클래스 FactomAPI.Bytes

파일 보기 프로젝트 열기: CryptidID/FactomDotNet

공개 메소드들

메소드 설명
CheckEndian ( byte bytes ) : byte[]

Will correct a little endian byte[]

Equality ( byte a1, byte b1 ) : bool

Checks if two byte arrays are equal

StartsWith ( byte haystack, byte needle ) : bool

Checks if a byte sequence begins with another byte sequence

메소드 상세

CheckEndian() 공개 정적인 메소드

Will correct a little endian byte[]
public static CheckEndian ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

Equality() 공개 정적인 메소드

Checks if two byte arrays are equal
public static Equality ( byte a1, byte b1 ) : bool
a1 byte Byte[] to be compared
b1 byte Byte[] to be compared
리턴 bool

StartsWith() 공개 정적인 메소드

Checks if a byte sequence begins with another byte sequence
public static StartsWith ( byte haystack, byte needle ) : bool
haystack byte The sequence to check
needle byte The sequence we want to find in the haystack
리턴 bool