package internal
Import Path
golang.org/x/text/encoding/internal (on go.dev)
Dependency Relation
imports 3 packages, and imported by 6 packages
Involved Source Files
Package internal contains code that is shared among encoding implementations.
Package-Level Type Names (total 4)
Encoding is an implementation of the Encoding interface that adds the String
and ID methods to an existing encoding.
Encoding encoding.Encoding
MIB identifier.MIB
Name string
(*Encoding) ID() (mib identifier.MIB, other string)
NewDecoder returns a Decoder.
NewEncoder returns an Encoder.
(*Encoding) String() string
*Encoding : golang.org/x/text/encoding/internal/identifier.Interface
Encoding : golang.org/x/text/encoding.Encoding
*Encoding : fmt.Stringer
*Encoding : github.com/ChrisTrenkamp/goxpath/tree.Result
FuncEncoding is an Encoding that combines two functions returning a new
Transformer.
Decoder func() transform.Transformer
Encoder func() transform.Transformer
( FuncEncoding) NewDecoder() *encoding.Decoder
( FuncEncoding) NewEncoder() *encoding.Encoder
FuncEncoding : golang.org/x/text/encoding.Encoding
A RepertoireError indicates a rune is not in the repertoire of a destination
encoding. It is associated with an encoding-specific suggested replacement
byte.
Error implements the error interface.
Replacement returns the replacement string associated with this error.
RepertoireError : error
var ErrASCIIReplacement
SimpleEncoding is an Encoding that combines two Transformers.
Decoder transform.Transformer
Encoder transform.Transformer
(*SimpleEncoding) NewDecoder() *encoding.Decoder
(*SimpleEncoding) NewEncoder() *encoding.Encoder
*SimpleEncoding : golang.org/x/text/encoding.Encoding
Package-Level Variables (only one)
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |