MCPcopy
hub / github.com/rs/zerolog / appendCBOR

Function appendCBOR

encoder_cbor.go:27–29  ·  view source on GitHub ↗
(dst []byte, c []byte)

Source from the content-addressed store, hash-verified

25 return cbor.AppendEmbeddedJSON(dst, j)
26}
27func appendCBOR(dst []byte, c []byte) []byte {
28 return cbor.AppendEmbeddedCBOR(dst, c)
29}
30
31// decodeIfBinaryToString - converts a binary formatted log msg to a
32// JSON formatted String Log message.

Callers 1

RawCBORMethod · 0.70

Calls 1

AppendEmbeddedCBORFunction · 0.92

Tested by

no test coverage detected