MCPcopy Create free account
hub / github.com/tdewolff/canvas / Decode

Method Decode

cmd/pdftext/encoding.go:48–50  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

46}
47
48func (_ winAnsiEncoding) Decode(b []byte) ([]byte, error) {
49 return charmap.Windows1252.NewDecoder().Bytes(b)
50}
51
52type macRomanEncoding struct{}
53

Callers

nothing calls this directly

Calls 1

BytesMethod · 0.65

Tested by

no test coverage detected