Documentation ¶
Index ¶
- Variables
- type Builder
- func (b *Builder) EndCell() *Cell
- func (b *Builder) MustStoreBigCoins(value *big.Int) *Builder
- func (b *Builder) MustStoreBigInt(value *big.Int, sz int) *Builder
- func (b *Builder) MustStoreCoins(value uint64) *Builder
- func (b *Builder) MustStoreRef(ref *Cell) *Builder
- func (b *Builder) MustStoreSlice(bytes []byte, sz int) *Builder
- func (b *Builder) MustStoreUInt(value uint64, sz int) *Builder
- func (b *Builder) StoreBigCoins(value *big.Int) error
- func (b *Builder) StoreBigInt(value *big.Int, sz int) error
- func (b *Builder) StoreCoins(value uint64) error
- func (b *Builder) StoreRef(ref *Cell) error
- func (b *Builder) StoreSlice(bytes []byte, sz int) error
- func (b *Builder) StoreUInt(value uint64, sz int) error
- type Cell
- type LoadCell
- func (c *LoadCell) LoadAddr() (*address.Address, error)
- func (c *LoadCell) LoadBigCoins() (*big.Int, error)
- func (c *LoadCell) LoadBigInt(sz int) (*big.Int, error)
- func (c *LoadCell) LoadCoins() (uint64, error)
- func (c *LoadCell) LoadRef() (*LoadCell, error)
- func (c *LoadCell) LoadSlice(sz int) ([]byte, error)
- func (c *LoadCell) LoadUInt(sz int) (uint64, error)
- func (c *LoadCell) RestBits() (int, []byte, error)
- func (c *LoadCell) ToCell() (*Cell, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErNotFit1024 = errors.New("cell data size should fit into 1024 bits")
View Source
var ErrNoMoreRefs = errors.New("no more refs exists")
View Source
var ErrNotEnoughData = errors.New("not enough data in reader")
View Source
var ErrSmallSlice = errors.New("too small slice for this size")
View Source
var ErrTooBigSize = errors.New("too big size")
View Source
var ErrTooBigValue = errors.New("too big value")
View Source
var ErrTooMuchRefs = errors.New("too much refs")
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) MustStoreBigInt ¶
func (*Builder) MustStoreCoins ¶
func (*Builder) MustStoreRef ¶
func (*Builder) StoreCoins ¶
type Cell ¶
type Cell struct {
// contains filtered or unexported fields
}
func (*Cell) BeginParse ¶
func (*Cell) ToBOCWithFlags ¶
Click to show internal directories.
Click to hide internal directories.