Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
type
encoding
interface
{
17
Has(rune) bool
18
Encode([]byte) ([]byte, error)
19
Decode([]byte) ([]byte, error)
20
}
21
Callers
15
breakupCrossingSegments
Method · 0.65
GobEncode
Method · 0.65
BenchmarkToRasterizer
Function · 0.65
BenchmarkToScanx
Function · 0.65
String
Method · 0.65
FromUnicode
Method · 0.65
FromUnicode
Method · 0.65
WebP
Function · 0.65
AVIF
Function · 0.65
PNG
Function · 0.65
JPEG
Function · 0.65
GIF
Function · 0.65
Implementers
4
standardEncoding
cmd/pdftext/encoding.go
winAnsiEncoding
cmd/pdftext/encoding.go
macRomanEncoding
cmd/pdftext/encoding.go
builtinEncoding
cmd/pdftext/encoding.go
Calls
no outgoing calls
Tested by
2
BenchmarkToRasterizer
Function · 0.52
BenchmarkToScanx
Function · 0.52