MCPcopy Create free account
hub / github.com/WICG/webpackage / KeyBytes

Method KeyBytes

go/internal/cbor/encoder.go:190–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func (e *MapEntryEncoder) KeyBytes() []byte {
191 return e.keyBuf.Bytes()
192}
193
194func GenerateMapEntry(f func(keyE *Encoder, valueE *Encoder)) *MapEntryEncoder {
195 e := NewMapEntry()

Callers 1

EncodeMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected