enctest

package
v0.0.0-...-52d6a69 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0, BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Benchmark

func Benchmark(b *testing.B, enc encoding.Encoding)

func TestEncoding

func TestEncoding(t *testing.T, e encoding.Encoding, encoded, utf8, prefix, suffix string)

func TestFile

func TestFile(t *testing.T, e encoding.Encoding)

Types

type Transcoder

type Transcoder interface {
	transform.Transformer
	Bytes([]byte) ([]byte, error)
	String(string) (string, error)
}

Encoder or Decoder

Jump to

Keyboard shortcuts

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