Documentation
¶
Index ¶
- Variables
- func Marshal(c *boc.Cell, o any) error
- func Unmarshal(c *boc.Cell, o any) error
- type Any
- type BinTree
- type Either
- type EitherRef
- type HashMapAugExtraList
- type Hashmap
- type HashmapAug
- type HashmapAugE
- type HashmapE
- type HashmapItem
- type Magic
- type MarshalerTLB
- type Maybe
- type Ref
- type SumType
- type Unary
- type UnmarshalerTLB
- type VarUInteger
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidTag = errors.New("invalid tag")
Functions ¶
Types ¶
type HashMapAugExtraList ¶
type HashMapAugExtraList[T any] struct { Left *HashMapAugExtraList[T] Right *HashMapAugExtraList[T] Data T }
type HashmapAug ¶
type HashmapAug[T1, T2 any] struct { // contains filtered or unexported fields }
func (*HashmapAug[T1, T2]) UnmarshalTLB ¶
func (h *HashmapAug[T1, T2]) UnmarshalTLB(c *boc.Cell, tag string) error
func (HashmapAug[T1, T2]) Values ¶
func (h HashmapAug[T1, T2]) Values() []T1
Values returns a list of value of this hashmap.
type HashmapAugE ¶
type HashmapAugE[T1, T2 any] struct { // contains filtered or unexported fields }
func (HashmapAugE[T1, T2]) Keys ¶
func (h HashmapAugE[T1, T2]) Keys() []boc.BitString
func (*HashmapAugE[T1, T2]) UnmarshalTLB ¶
func (h *HashmapAugE[T1, T2]) UnmarshalTLB(c *boc.Cell, tag string) error
func (HashmapAugE[T1, T2]) Values ¶
func (h HashmapAugE[T1, T2]) Values() []T1
type HashmapE ¶
type HashmapE[T any] struct { // contains filtered or unexported fields }
func (HashmapE[T]) Items ¶
func (h HashmapE[T]) Items() []HashmapItem[T]
Items returns key-value pairs of this hashmap.
func (*HashmapE[T]) UnmarshalTLB ¶
type HashmapItem ¶
HashmapItem represents a key-value pair stored in HashmapE[T].
type VarUInteger ¶
func (VarUInteger) MarshalTLB ¶
func (u VarUInteger) MarshalTLB(c *boc.Cell, tag string) error
func (*VarUInteger) UnmarshalTLB ¶
func (u *VarUInteger) UnmarshalTLB(c *boc.Cell, tag string) error
Click to show internal directories.
Click to hide internal directories.