text: golang.org/x/text/encoding/internal/enctest Index | Files

package enctest

import "golang.org/x/text/encoding/internal/enctest"

Index

Package Files

enctest.go

func Benchmark Uses

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

func TestEncoding Uses

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

func TestFile Uses

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

type Transcoder Uses

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

Encoder or Decoder

Package enctest imports 9 packages (graph). Updated 2017-10-13. Refresh now. Tools for package owners.