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

Method decode

types.go:87–92  ·  view source on GitHub ↗
(e *encoder, l uint32)

Source from the content-addressed store, hash-verified

85}
86
87func (o *optExportName) decode(e *encoder, l uint32) errno {
88 name := make([]byte, l)
89 e.read(name)
90 o.name = string(name)
91 return 0
92}
93
94type optAbort struct{}
95

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected