rawencode

package
v0.0.0-...-80347e8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(bs []byte, en interface{}) error

func Encode

func Encode(en interface{}) ([]byte, error)

func EncodeByLen

func EncodeByLen(en interface{}) ([]byte, error)

Types

type RawEncoder

type RawEncoder interface {
	Encode() ([]byte, error)
	Decode(data []byte) error
}

Jump to

Keyboard shortcuts

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