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

Method AppendNil

internal/cbor/types.go:11–13  ·  view source on GitHub ↗

AppendNil inserts a 'Nil' object into the dst byte array.

(dst []byte)

Source from the content-addressed store, hash-verified

9
10// AppendNil inserts a 'Nil' object into the dst byte array.
11func (Encoder) AppendNil(dst []byte) []byte {
12 return append(dst, majorTypeSimpleAndFloat|additionalTypeNull)
13}
14
15// AppendBeginMarker inserts a map start into the dst byte array.
16func (Encoder) AppendBeginMarker(dst []byte) []byte {

Callers 1

AppendStringerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected