MCPcopy
hub / github.com/tinylib/msgp / IsNil

Method IsNil

msgp/read.go:325–328  ·  view source on GitHub ↗

IsNil returns whether or not the next byte is a null messagepack byte

()

Source from the content-addressed store, hash-verified

323// IsNil returns whether or not
324// the next byte is a null messagepack byte
325func (m *Reader) IsNil() bool {
326 p, err := m.R.PeekByte()
327 return err == nil && p == mnil
328}
329
330// getNextSize returns the size of the next object on the wire.
331// returns (obj size, obj elements, error)

Callers 15

FuzzReaderFunction · 0.95
AppendIntfFunction · 0.80
WriteIntfMethod · 0.80
ReadArrayFunction · 0.80
ReadMapFunction · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80
DecodeMsgMethod · 0.80

Calls

no outgoing calls

Tested by 1

FuzzReaderFunction · 0.76