MCPcopy Create free account
hub / github.com/Merovius/nbd / encode

Method encode

types.go:385–385  ·  view source on GitHub ↗
(e *encoder)

Source from the content-addressed store, hash-verified

383func (r *repError) code() uint32 { return uint32(r.errno) }
384
385func (r *repError) encode(e *encoder) {}
386
387func (r *repError) decode(e *encoder, l uint32) {
388 if l > (4 << 20) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected