blob

package
v2.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadString

func ReadString(b []byte) (string, []byte)

func ReadStrings

func ReadStrings(b []byte) ([]string, []byte)

func ReadU32BE

func ReadU32BE(b []byte) (uint32, []byte)

func ReadU64BE

func ReadU64BE(b []byte) (uint64, []byte)

func WriteString

func WriteString(b []byte, v string) []byte

func WriteStrings

func WriteStrings(b []byte, values []string) []byte

func WriteU32BE

func WriteU32BE(b []byte, n uint32) []byte

func WriteU64BE

func WriteU64BE(b []byte, n uint64) []byte

Types

type Appender

type Appender interface {
	AppendBlob(blob []byte) ([]byte, error)
}

type Shifter

type Shifter interface {
	ShiftBlob(blob []byte) (tail []byte, err error)
}

Jump to

Keyboard shortcuts

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