Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/golang/text
/ NewEncoder
Method
NewEncoder
encoding/encoding.go:37–37 ·
view source on GitHub ↗
NewEncoder returns an Encoder.
()
Source
from the content-addressed store, hash-verified
35
36
// NewEncoder returns an Encoder.
37
NewEncoder() *Encoder
38
}
39
40
// A Decoder converts bytes to UTF-8. It implements transform.Transformer.
Callers
15
ExampleUTF8Validator
Function · 0.65
TestEncodeInvalidUTF8
Function · 0.65
TestReplacement
Function · 0.65
TestErrorHandler
Function · 0.65
enc
Function · 0.65
TestASCIIEncoder
Function · 0.65
enc
Function · 0.65
TestUTF16
Function · 0.65
TestUTF8SigEncoder
Function · 0.65
TestUTF32
Function · 0.65
enc
Function · 0.65
TestEncoding
Function · 0.65
Implementers
8
nop
encoding/encoding.go
replacement
encoding/encoding.go
utf8bomEncoding
encoding/unicode/unicode.go
utf16Encoding
encoding/unicode/unicode.go
utf32Encoding
encoding/unicode/utf32/utf32.go
SimpleEncoding
encoding/internal/internal.go
FuncEncoding
encoding/internal/internal.go
Charmap
encoding/charmap/charmap.go
Calls
no outgoing calls
Tested by
15
ExampleUTF8Validator
Function · 0.52
TestEncodeInvalidUTF8
Function · 0.52
TestReplacement
Function · 0.52
TestErrorHandler
Function · 0.52
enc
Function · 0.52
TestASCIIEncoder
Function · 0.52
enc
Function · 0.52
TestUTF16
Function · 0.52
TestUTF8SigEncoder
Function · 0.52
TestUTF32
Function · 0.52
enc
Function · 0.52
TestEncoding
Function · 0.52