deserializer

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deserializer

type Deserializer struct {
	// contains filtered or unexported fields
}

func NewDeserializer

func NewDeserializer(b []byte) *Deserializer

func (*Deserializer) Byte

func (a *Deserializer) Byte() (byte, error)

func (*Deserializer) ByteStringWithUint16Len added in v0.8.0

func (a *Deserializer) ByteStringWithUint16Len() ([]byte, error)

func (*Deserializer) Bytes

func (a *Deserializer) Bytes(length uint) ([]byte, error)

func (*Deserializer) Digest added in v0.5.0

func (a *Deserializer) Digest() (crypto.Digest, error)

func (*Deserializer) Len added in v0.8.0

func (a *Deserializer) Len() int

Length of the rest bytes.

func (*Deserializer) PublicKey

func (a *Deserializer) PublicKey() (crypto.PublicKey, error)

func (*Deserializer) Signature

func (a *Deserializer) Signature() (crypto.Signature, error)

func (*Deserializer) Uint16 added in v0.8.0

func (a *Deserializer) Uint16() (uint16, error)

func (*Deserializer) Uint32

func (a *Deserializer) Uint32() (uint32, error)

func (*Deserializer) Uint64 added in v0.8.0

func (a *Deserializer) Uint64() (uint64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL