codec

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToBytes

func BytesToBytes(in []byte, inCodec, outCodec Bytes) ([]byte, error)

Types

type Bytes

type Bytes interface {
	Name() string
	BytesIn([]byte) ([]byte, error)
	BytesOut([]byte) ([]byte, error)
}

func PEMBytes

func PEMBytes(pemType string, firstOnly bool) Bytes

func RawBytes

func RawBytes() Bytes

func RawStdBase64Bytes

func RawStdBase64Bytes() Bytes

func RawURLBase64Bytes

func RawURLBase64Bytes() Bytes

func StdBase64Bytes

func StdBase64Bytes() Bytes

func URLBase64Bytes

func URLBase64Bytes() Bytes

Jump to

Keyboard shortcuts

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