Documentation ¶
Index ¶
- func DecodeAddress(b []byte, def ...ledgerstate.Address) (ledgerstate.Address, error)
- func DecodeAgentID(b []byte, def ...*iscp.AgentID) (*iscp.AgentID, error)
- func DecodeBool(b []byte, def ...bool) (bool, error)
- func DecodeChainID(b []byte, def ...*iscp.ChainID) (*iscp.ChainID, error)
- func DecodeColor(b []byte, def ...colored.Color) (colored.Color, error)
- func DecodeHashValue(b []byte, def ...hashing.HashValue) (hashing.HashValue, error)
- func DecodeHname(b []byte, def ...iscp.Hname) (iscp.Hname, error)
- func DecodeInt16(b []byte, def ...int16) (int16, error)
- func DecodeInt32(b []byte, def ...int32) (int32, error)
- func DecodeInt64(b []byte, def ...int64) (int64, error)
- func DecodeInt8(b []byte, def ...int8) (int8, error)
- func DecodeRequestID(b []byte, def ...iscp.RequestID) (iscp.RequestID, error)
- func DecodeString(b []byte, def ...string) (string, error)
- func DecodeTime(b []byte, def ...time.Time) (time.Time, error)
- func DecodeUint16(b []byte, def ...uint16) (uint16, error)
- func DecodeUint32(b []byte, def ...uint32) (uint32, error)
- func DecodeUint64(b []byte, def ...uint64) (uint64, error)
- func DecodeUint8(b []byte, def ...uint8) (uint8, error)
- func Encode(v interface{}) []byte
- func EncodeAddress(value ledgerstate.Address) []byte
- func EncodeAgentID(value *iscp.AgentID) []byte
- func EncodeBool(value bool) []byte
- func EncodeChainID(value *iscp.ChainID) []byte
- func EncodeColor(value colored.Color) []byte
- func EncodeHashValue(value hashing.HashValue) []byte
- func EncodeHname(value iscp.Hname) []byte
- func EncodeInt16(value int16) []byte
- func EncodeInt32(value int32) []byte
- func EncodeInt64(value int64) []byte
- func EncodeInt8(value int8) []byte
- func EncodeRequestID(value iscp.RequestID) []byte
- func EncodeString(value string) []byte
- func EncodeTime(value time.Time) []byte
- func EncodeUint16(value uint16) []byte
- func EncodeUint32(value uint32) []byte
- func EncodeUint64(value uint64) []byte
- func EncodeUint8(value uint8) []byte
- func MakeDict(vars map[string]interface{}) dict.Dict
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAddress ¶
func DecodeAddress(b []byte, def ...ledgerstate.Address) (ledgerstate.Address, error)
func DecodeHashValue ¶
func DecodeRequestID ¶ added in v0.2.0
func EncodeAddress ¶
func EncodeAddress(value ledgerstate.Address) []byte
func EncodeAgentID ¶
func EncodeBool ¶ added in v0.2.3
func EncodeChainID ¶
func EncodeColor ¶
func EncodeHashValue ¶
func EncodeHname ¶
func EncodeInt16 ¶ added in v0.2.0
func EncodeInt32 ¶ added in v0.2.0
func EncodeInt64 ¶
func EncodeInt8 ¶ added in v0.2.3
func EncodeRequestID ¶ added in v0.2.0
func EncodeString ¶
func EncodeTime ¶ added in v0.2.0
func EncodeUint16 ¶ added in v0.2.0
func EncodeUint32 ¶ added in v0.2.0
func EncodeUint64 ¶ added in v0.2.0
func EncodeUint8 ¶ added in v0.2.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.