serialize

package
v0.0.0-...-16c109c Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Binary = iota
	Base64
	Base58
	Hex
	XHex
	ZxHex
	Borsh
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format uint8

func (Format) Deserialize

func (format Format) Deserialize(d []byte) ([]byte, error)

func (Format) Serialize

func (format Format) Serialize(d []byte) ([]byte, error)

type StrFormat

type StrFormat string

func (StrFormat) Deserialize

func (format StrFormat) Deserialize(d []byte) ([]byte, error)

func (StrFormat) Serialize

func (format StrFormat) Serialize(d []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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