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

Method AppendArrayEnd

internal/cbor/types.go:38–40  ·  view source on GitHub ↗

AppendArrayEnd adds markers to indicate the end of an array.

(dst []byte)

Source from the content-addressed store, hash-verified

36
37// AppendArrayEnd adds markers to indicate the end of an array.
38func (Encoder) AppendArrayEnd(dst []byte) []byte {
39 return append(dst, majorTypeSimpleAndFloat|additionalTypeBreak)
40}
41
42// AppendArrayDelim adds markers to indicate end of a particular array element.
43func (Encoder) AppendArrayDelim(dst []byte) []byte {

Callers 15

AppendStringersMethod · 0.95
AppendBoolsMethod · 0.95
AppendIntsMethod · 0.95
AppendInts8Method · 0.95
AppendInts16Method · 0.95
AppendInts32Method · 0.95
AppendInts64Method · 0.95
AppendUintsMethod · 0.95
AppendUints8Method · 0.95
AppendUints16Method · 0.95
AppendUints32Method · 0.95
AppendUints64Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected