MCPcopy
hub / github.com/tdewolff/canvas / Encode

Method Encode

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

Source from the content-addressed store, hash-verified

16type encoding interface {
17 Has(rune) bool
18 Encode([]byte) ([]byte, error)
19 Decode([]byte) ([]byte, error)
20}
21

Callers 15

GobEncodeMethod · 0.65
BenchmarkToRasterizerFunction · 0.65
BenchmarkToScanxFunction · 0.65
StringMethod · 0.65
FromUnicodeMethod · 0.65
FromUnicodeMethod · 0.65
WebPFunction · 0.65
AVIFFunction · 0.65
PNGFunction · 0.65
JPEGFunction · 0.65
GIFFunction · 0.65

Implementers 4

standardEncodingcmd/pdftext/encoding.go
winAnsiEncodingcmd/pdftext/encoding.go
macRomanEncodingcmd/pdftext/encoding.go
builtinEncodingcmd/pdftext/encoding.go

Calls

no outgoing calls

Tested by 2

BenchmarkToRasterizerFunction · 0.52
BenchmarkToScanxFunction · 0.52