Documentation ¶
Index ¶
- func DecodeAddress(b []byte, def ...iotago.Address) (iotago.Address, error)
- func DecodeAgentID(b []byte, def ...isc.AgentID) (isc.AgentID, error)
- func DecodeBigIntAbs(b []byte, def ...*big.Int) (*big.Int, error)
- func DecodeBool(b []byte, def ...bool) (bool, error)
- func DecodeChainID(b []byte, def ...isc.ChainID) (isc.ChainID, error)
- func DecodeDict(b []byte) (dict.Dict, error)
- func DecodeHashValue(b []byte, def ...hashing.HashValue) (hashing.HashValue, error)
- func DecodeHname(b []byte, def ...isc.Hname) (isc.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 DecodeNFTID(b []byte, def ...iotago.NFTID) (iotago.NFTID, error)
- func DecodeNativeTokenID(b []byte, def ...iotago.NativeTokenID) (iotago.NativeTokenID, error)
- func DecodeOutput(b []byte) (iotago.Output, error)
- func DecodeRatio32(b []byte, def ...util.Ratio32) (util.Ratio32, error)
- func DecodeRequestID(b []byte, def ...isc.RequestID) (isc.RequestID, error)
- func DecodeString(b []byte, def ...string) (string, error)
- func DecodeTime(b []byte, def ...time.Time) (time.Time, error)
- func DecodeTokenScheme(b []byte, def ...iotago.TokenScheme) (iotago.TokenScheme, 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 DecodeVMErrorCode(b []byte, def ...isc.VMErrorCode) (isc.VMErrorCode, error)
- func Encode(v interface{}) []byte
- func EncodeAddress(addr iotago.Address) []byte
- func EncodeAgentID(value isc.AgentID) []byte
- func EncodeBigIntAbs(value *big.Int) []byte
- func EncodeBool(value bool) []byte
- func EncodeChainID(chainID isc.ChainID) []byte
- func EncodeDict(value dict.Dict) []byte
- func EncodeHashValue(value hashing.HashValue) []byte
- func EncodeHname(value isc.Hname) []byte
- func EncodeInt16(value int16) []byte
- func EncodeInt32(value int32) []byte
- func EncodeInt64(value int64) []byte
- func EncodeInt8(value int8) []byte
- func EncodeNFTID(nftID iotago.NFTID) []byte
- func EncodeNativeTokenID(value iotago.NativeTokenID) []byte
- func EncodeRatio32(r util.Ratio32) []byte
- func EncodeRequestID(value isc.RequestID) []byte
- func EncodeString(value string) []byte
- func EncodeTime(value time.Time) []byte
- func EncodeTokenScheme(value iotago.TokenScheme) []byte
- func EncodeUint16(value uint16) []byte
- func EncodeUint32(value uint32) []byte
- func EncodeUint64(value uint64) []byte
- func EncodeUint8(value uint8) []byte
- func EncodeVMErrorCode(code isc.VMErrorCode) []byte
- func MakeDict(vars map[string]interface{}) dict.Dict
- func MustDecodeAddress(b []byte, def ...iotago.Address) iotago.Address
- func MustDecodeAgentID(b []byte, def ...isc.AgentID) isc.AgentID
- func MustDecodeBigIntAbs(b []byte, def ...*big.Int) *big.Int
- func MustDecodeBool(b []byte, def ...bool) bool
- func MustDecodeHname(b []byte, def ...isc.Hname) isc.Hname
- func MustDecodeInt16(b []byte, def ...int16) int16
- func MustDecodeInt32(b []byte, def ...int32) int32
- func MustDecodeInt64(b []byte, def ...int64) int64
- func MustDecodeInt8(b []byte, def ...int8) int8
- func MustDecodeNFTID(b []byte) iotago.NFTID
- func MustDecodeNativeTokenID(b []byte, def ...iotago.NativeTokenID) iotago.NativeTokenID
- func MustDecodeOutput(b []byte) iotago.Output
- func MustDecodeRatio32(bytes []byte, def ...util.Ratio32) util.Ratio32
- func MustDecodeString(b []byte, def ...string) string
- func MustDecodeTime(b []byte, def ...time.Time) time.Time
- func MustDecodeTokenScheme(b []byte, def ...iotago.TokenScheme) iotago.TokenScheme
- func MustDecodeUint16(b []byte, def ...uint16) uint16
- func MustDecodeUint32(b []byte, def ...uint32) uint32
- func MustDecodeUint64(b []byte, def ...uint64) uint64
- func MustDecodeUint8(b []byte, def ...uint8) uint8
- func MustDecodeVMErrorCode(b []byte, def ...isc.VMErrorCode) isc.VMErrorCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBigIntAbs ¶ added in v0.3.0
func DecodeHashValue ¶
func DecodeNFTID ¶ added in v1.0.3
func DecodeNativeTokenID ¶ added in v0.3.0
func DecodeNativeTokenID(b []byte, def ...iotago.NativeTokenID) (iotago.NativeTokenID, error)
func DecodeRatio32 ¶ added in v0.3.0
func DecodeRequestID ¶ added in v0.2.0
func DecodeTokenScheme ¶ added in v0.3.0
func DecodeTokenScheme(b []byte, def ...iotago.TokenScheme) (iotago.TokenScheme, error)
func DecodeVMErrorCode ¶ added in v0.3.0
func DecodeVMErrorCode(b []byte, def ...isc.VMErrorCode) (isc.VMErrorCode, error)
func EncodeAddress ¶
func EncodeAgentID ¶
func EncodeBigIntAbs ¶ added in v0.3.0
func EncodeBool ¶ added in v0.2.3
func EncodeChainID ¶
func EncodeDict ¶ added in v0.3.0
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 EncodeNFTID ¶ added in v1.0.3
func EncodeNativeTokenID ¶ added in v0.3.0
func EncodeNativeTokenID(value iotago.NativeTokenID) []byte
func EncodeRatio32 ¶ added in v0.3.0
func EncodeRequestID ¶ added in v0.2.0
func EncodeString ¶
func EncodeTime ¶ added in v0.2.0
func EncodeTokenScheme ¶ added in v0.3.0
func EncodeTokenScheme(value iotago.TokenScheme) []byte
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
func EncodeVMErrorCode ¶ added in v0.3.0
func EncodeVMErrorCode(code isc.VMErrorCode) []byte
func MustDecodeAddress ¶ added in v1.0.3
func MustDecodeAgentID ¶ added in v1.0.3
func MustDecodeBigIntAbs ¶ added in v0.3.0
func MustDecodeBool ¶ added in v0.3.0
func MustDecodeInt16 ¶ added in v0.3.0
func MustDecodeInt32 ¶ added in v0.3.0
func MustDecodeInt64 ¶ added in v0.3.0
func MustDecodeInt8 ¶ added in v0.3.0
func MustDecodeNFTID ¶ added in v1.0.3
func MustDecodeNativeTokenID ¶ added in v0.3.0
func MustDecodeNativeTokenID(b []byte, def ...iotago.NativeTokenID) iotago.NativeTokenID
func MustDecodeOutput ¶ added in v1.0.3
func MustDecodeRatio32 ¶ added in v0.3.0
func MustDecodeString ¶ added in v0.3.0
func MustDecodeTokenScheme ¶ added in v1.0.3
func MustDecodeTokenScheme(b []byte, def ...iotago.TokenScheme) iotago.TokenScheme
func MustDecodeUint16 ¶ added in v0.3.0
func MustDecodeUint32 ¶ added in v0.3.0
func MustDecodeUint64 ¶ added in v0.3.0
func MustDecodeUint8 ¶ added in v0.3.0
func MustDecodeVMErrorCode ¶ added in v0.3.0
func MustDecodeVMErrorCode(b []byte, def ...isc.VMErrorCode) isc.VMErrorCode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.