binarySafeEncoding

package
v0.0.0-...-5cc97c8 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllBytesSplitFunc

func AllBytesSplitFunc(data []byte, atEOF bool) (advance int, token []byte, err error)

func BinarySplitFuncUint32BE

func BinarySplitFuncUint32BE(data []byte, atEOF bool) (advance int, token []byte, err error)

func NetstringSplitFunc

func NetstringSplitFunc(data []byte, atEOF bool) (advance int, token []byte, err error)

func ResolveSplitFuncByName

func ResolveSplitFuncByName(name string) (bufio.SplitFunc, error)

func ValidSplitFunctionNames

func ValidSplitFunctionNames() []string

func ValidWriteFunctionNames

func ValidWriteFunctionNames() []string

func WriteAllBytes

func WriteAllBytes(output io.Writer, msg []byte) error

func WriteLengthPrefixedUInt32BE

func WriteLengthPrefixedUInt32BE(output io.Writer, msg []byte) error

func WriteLine

func WriteLine(output io.Writer, msg []byte) error

func WriteNetstring

func WriteNetstring(output io.Writer, msg []byte) error

Types

type WriteFunc

type WriteFunc = func(output io.Writer, msg []byte) error

func ResolveWriteFunctionByName

func ResolveWriteFunctionByName(name string) (WriteFunc, error)

Jump to

Keyboard shortcuts

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