MCPcopy Create free account
hub / github.com/rsc/tmp / Encode

Function Encode

brotli/writer.go:151–159  ·  view source on GitHub ↗

Encode returns content encoded with Brotli.

(content []byte, options WriterOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestReaderFunction · 0.70
TestDecodeFunction · 0.70
TestDecodeFuzzFunction · 0.70
TestDecodeTrailingDataFunction · 0.70
TestEncodeDecodeFunction · 0.70

Calls 4

WriteMethod · 0.95
CloseMethod · 0.95
NewWriterFunction · 0.85
BytesMethod · 0.80

Tested by 5

TestReaderFunction · 0.56
TestDecodeFunction · 0.56
TestDecodeFuzzFunction · 0.56
TestDecodeTrailingDataFunction · 0.56
TestEncodeDecodeFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…