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

Method DecodeByteString

go/internal/cbor/decoder.go:117–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117func (d *Decoder) DecodeByteString() ([]byte, error) {
118 return d.decodeBytesOfType(TypeBytes)
119}

Callers 12

TestDecodeByteStringFunction · 0.95
parseSignaturesSectionFunction · 0.95
loadMetadataFunction · 0.95
loadResponseFunction · 0.95
decodeSignedSubsetFunction · 0.95
decodeCborHeadersFunction · 0.80
decodeSubsetHashesFunction · 0.80
decodeRequestMapMethod · 0.80
decodeResponseMapMethod · 0.80

Calls 1

decodeBytesOfTypeMethod · 0.95

Tested by 2

TestDecodeByteStringFunction · 0.76