Documentation ¶
Index ¶
- type Decoder
- func (p *Decoder) GetAddress(key kv.Key, def ...ledgerstate.Address) (ledgerstate.Address, error)
- func (p *Decoder) GetAgentID(key kv.Key, def ...*iscp.AgentID) (*iscp.AgentID, error)
- func (p *Decoder) GetBytes(key kv.Key, def ...[]byte) ([]byte, error)
- func (p *Decoder) GetChainID(key kv.Key, def ...*iscp.ChainID) (*iscp.ChainID, error)
- func (p *Decoder) GetColor(key kv.Key, def ...colored.Color) (colored.Color, error)
- func (p *Decoder) GetHashValue(key kv.Key, def ...hashing.HashValue) (hashing.HashValue, error)
- func (p *Decoder) GetHname(key kv.Key, def ...iscp.Hname) (iscp.Hname, error)
- func (p *Decoder) GetInt16(key kv.Key, def ...int16) (int16, error)
- func (p *Decoder) GetInt32(key kv.Key, def ...int32) (int32, error)
- func (p *Decoder) GetInt64(key kv.Key, def ...int64) (int64, error)
- func (p *Decoder) GetRequestID(key kv.Key, def ...iscp.RequestID) (iscp.RequestID, error)
- func (p *Decoder) GetString(key kv.Key, def ...string) (string, error)
- func (p *Decoder) GetTime(key kv.Key, def ...time.Time) (time.Time, error)
- func (p *Decoder) GetUint16(key kv.Key, def ...uint16) (uint16, error)
- func (p *Decoder) GetUint32(key kv.Key, def ...uint32) (uint32, error)
- func (p *Decoder) GetUint64(key kv.Key, def ...uint64) (uint64, error)
- func (p *Decoder) MustGetAddress(key kv.Key, def ...ledgerstate.Address) ledgerstate.Address
- func (p *Decoder) MustGetAgentID(key kv.Key, def ...*iscp.AgentID) *iscp.AgentID
- func (p *Decoder) MustGetBytes(key kv.Key, def ...[]byte) []byte
- func (p *Decoder) MustGetChainID(key kv.Key, def ...*iscp.ChainID) *iscp.ChainID
- func (p *Decoder) MustGetColor(key kv.Key, def ...colored.Color) colored.Color
- func (p *Decoder) MustGetHashValue(key kv.Key, def ...hashing.HashValue) hashing.HashValue
- func (p *Decoder) MustGetHname(key kv.Key, def ...iscp.Hname) iscp.Hname
- func (p *Decoder) MustGetInt16(key kv.Key, def ...int16) int16
- func (p *Decoder) MustGetInt32(key kv.Key, def ...int32) int32
- func (p *Decoder) MustGetInt64(key kv.Key, def ...int64) int64
- func (p *Decoder) MustGetRequestID(key kv.Key, def ...iscp.RequestID) iscp.RequestID
- func (p *Decoder) MustGetString(key kv.Key, def ...string) string
- func (p *Decoder) MustGetTime(key kv.Key, def ...time.Time) time.Time
- func (p *Decoder) MustGetUint16(key kv.Key, def ...uint16) uint16
- func (p *Decoder) MustGetUint32(key kv.Key, def ...uint32) uint32
- func (p *Decoder) MustGetUint64(key kv.Key, def ...uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶ added in v0.2.0
type Decoder struct {
// contains filtered or unexported fields
}
func New ¶
func New(kvReader kv.KVStoreReader, log ...iscp.LogInterface) Decoder
func (*Decoder) GetAddress ¶ added in v0.2.0
func (p *Decoder) GetAddress(key kv.Key, def ...ledgerstate.Address) (ledgerstate.Address, error)
func (*Decoder) GetAgentID ¶ added in v0.2.0
func (*Decoder) GetChainID ¶ added in v0.2.0
func (*Decoder) GetHashValue ¶ added in v0.2.0
func (*Decoder) GetRequestID ¶ added in v0.2.0
func (*Decoder) MustGetAddress ¶ added in v0.2.0
func (p *Decoder) MustGetAddress(key kv.Key, def ...ledgerstate.Address) ledgerstate.Address
func (*Decoder) MustGetAgentID ¶ added in v0.2.0
func (*Decoder) MustGetBytes ¶ added in v0.2.0
func (*Decoder) MustGetChainID ¶ added in v0.2.0
func (*Decoder) MustGetColor ¶ added in v0.2.0
func (*Decoder) MustGetHashValue ¶ added in v0.2.0
func (*Decoder) MustGetHname ¶ added in v0.2.0
func (*Decoder) MustGetInt16 ¶ added in v0.2.0
func (*Decoder) MustGetInt32 ¶ added in v0.2.0
func (*Decoder) MustGetInt64 ¶ added in v0.2.0
func (*Decoder) MustGetRequestID ¶ added in v0.2.0
func (*Decoder) MustGetString ¶ added in v0.2.0
func (*Decoder) MustGetTime ¶ added in v0.2.0
func (*Decoder) MustGetUint16 ¶ added in v0.2.0
func (*Decoder) MustGetUint32 ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.