C# 클래스 Paymetheus.Bitcoin.Util.CompactInt

파일 보기 프로젝트 열기: btcsuite/Paymetheus 1 사용 예제들

공개 메소드들

메소드 설명
ReadCompact ( byte source, int offset, int &bytesRead ) : ulong
SerializeSize ( ulong value ) : int
WriteCompact ( byte destination, int offset, ulong value ) : int

Writes the compact encoding of value to a destination byte array, starting at offset.

비공개 메소드들

메소드 설명
CanonicalCheck ( ulong value, ulong minValue, byte discriminant ) : ulong

메소드 상세

ReadCompact() 공개 정적인 메소드

public static ReadCompact ( byte source, int offset, int &bytesRead ) : ulong
source byte
offset int
bytesRead int
리턴 ulong

SerializeSize() 공개 정적인 메소드

public static SerializeSize ( ulong value ) : int
value ulong
리턴 int

WriteCompact() 공개 정적인 메소드

Writes the compact encoding of value to a destination byte array, starting at offset.
public static WriteCompact ( byte destination, int offset, ulong value ) : int
destination byte
offset int
value ulong
리턴 int