typeConverters

package
v1.1.40 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrByteSliceLenShouldHaveBeen8 = errors.New("byte slice's len should have been 8")

ErrByteSliceLenShouldHaveBeen8 signals that the byte slice provided has a wrong length (should have been 8)

View Source
var ErrNilByteSlice = errors.New("nil byte slice")

ErrNilByteSlice signals that a nil byte slice has been provided

Functions

This section is empty.

Types

type Uint64ByteSliceConverter

type Uint64ByteSliceConverter interface {
	ToByteSlice(uint64) []byte
	ToUint64([]byte) (uint64, error)
	IsInterfaceNil() bool
}

Uint64ByteSliceConverter converts byte slice to/from uint64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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