Documentation ¶ Index ¶ type Int64 func New() *Int64 func (b *Int64) Decode(by []byte) (out []byte) func (b *Int64) DecodeOne(by []byte) *Int64 func (b *Int64) Encode() []byte func (b *Int64) Get() int64 func (b *Int64) Put(bits int64) *Int64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Int64 ¶ type Int64 struct { Bytes [8]byte } Int64 is a 32 bit value that stores an int32 (used for block height). I don't think the sign is preserved but block heights are never negative except with special semantics func New ¶ func New() *Int64 func (*Int64) Decode ¶ func (b *Int64) Decode(by []byte) (out []byte) func (*Int64) DecodeOne ¶ func (b *Int64) DecodeOne(by []byte) *Int64 func (*Int64) Encode ¶ func (b *Int64) Encode() []byte func (*Int64) Get ¶ func (b *Int64) Get() int64 func (*Int64) Put ¶ func (b *Int64) Put(bits int64) *Int64 Source Files ¶ View all Source files int64.go Click to show internal directories. Click to hide internal directories.