basebb

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinBase uint32 = 2
	MaxBase uint32 = 256
)

Variables

This section is empty.

Functions

func Transform

func Transform(iBase uint32, oBase uint32, in []byte) ([]byte, error)

Types

type InvalidBaseError

type InvalidBaseError struct {
	// contains filtered or unexported fields
}

func (InvalidBaseError) Error

func (e InvalidBaseError) Error() string

type InvalidCharError

type InvalidCharError struct {
	// contains filtered or unexported fields
}

func (InvalidCharError) Error

func (e InvalidCharError) Error() string

type Transformer

type Transformer struct {
	// contains filtered or unexported fields
}

func MustNewTransformer

func MustNewTransformer(iBase uint32, oBase uint32) *Transformer

func NewTransformer

func NewTransformer(iBase uint32, oBase uint32) (*Transformer, error)

func (*Transformer) Transform

func (t *Transformer) Transform(in []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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