Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/golang/text
/ NewDecoder
Method
NewDecoder
encoding/encoding.go:34–34 ·
view source on GitHub ↗
NewDecoder returns a Decoder.
()
Source
from the content-addressed store, hash-verified
32
type
Encoding
interface
{
33
// NewDecoder returns a Decoder.
34
NewDecoder() *Decoder
35
36
// NewEncoder returns an Encoder.
37
NewEncoder() *Encoder
Callers
15
Example_decodeWindows1252
Function · 0.65
TestReplacement
Function · 0.65
dec
Function · 0.65
TestBig5CircumflexAndMacron
Function · 0.65
TestASCIIDecoder
Function · 0.65
main
Function · 0.65
dec
Function · 0.65
Transform
Method · 0.65
TestUTF16
Function · 0.65
TestUTF8Decoder
Function · 0.65
TestUTF8BOMDecoder
Function · 0.65
TestBOMOverride
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
Example_decodeWindows1252
Function · 0.52
TestReplacement
Function · 0.52
dec
Function · 0.52
TestBig5CircumflexAndMacron
Function · 0.52
TestASCIIDecoder
Function · 0.52
dec
Function · 0.52
TestUTF16
Function · 0.52
TestUTF8Decoder
Function · 0.52
TestUTF8BOMDecoder
Function · 0.52
TestBOMOverride
Function · 0.52
TestUTF32
Function · 0.52
dec
Function · 0.52