Bytes

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes struct {
	Bytes []byte
}

Bytes plain old bytes. Maximum length from 32 bits int

func New

func New() *Bytes

func (*Bytes) Decode

func (b *Bytes) Decode(by []byte) (out []byte)

func (*Bytes) DecodeOne

func (b *Bytes) DecodeOne(by []byte) *Bytes

func (*Bytes) Encode

func (b *Bytes) Encode() []byte

func (*Bytes) Get

func (b *Bytes) Get() []byte

func (*Bytes) Put

func (b *Bytes) Put(by []byte) *Bytes

Jump to

Keyboard shortcuts

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