Documentation ¶ Index ¶ func Benchmark(b *testing.B, enc encoding.Encoding) func TestEncoding(t *testing.T, e encoding.Encoding, encoded, utf8, prefix, suffix string) func TestFile(t *testing.T, e encoding.Encoding) type Transcoder 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 Source Files ¶ View all Source files enctest.go Click to show internal directories. Click to hide internal directories.