MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / EncodeNil

Method EncodeNil

encode.go:243–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (e *Encoder) EncodeNil() error {
244 return e.writeCode(msgpcode.Nil)
245}
246
247func (e *Encoder) EncodeBool(value bool) error {
248 if value {

Callers 15

EncodeMapMethod · 0.95
EncodeMapSortedMethod · 0.95
EncodeMethod · 0.95
EncodeBytesMethod · 0.95
encodeStringSliceMethod · 0.95
EncodeMsgpackMethod · 0.80
ptrEncoderFuncFunction · 0.80
encodeCustomValueFunction · 0.80
marshalValueFunction · 0.80
encodeInterfaceValueFunction · 0.80
encodeErrorValueFunction · 0.80
marshalBinaryValueFunction · 0.80

Calls 1

writeCodeMethod · 0.95

Tested by 1

EncodeMsgpackMethod · 0.64