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

Function rwNullBytes

msgp/json_bytes.go:210–217  ·  view source on GitHub ↗
(w jsWriter, msg []byte, scratch []byte, depth int)

Source from the content-addressed store, hash-verified

208}
209
210func rwNullBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) {
211 msg, err := ReadNilBytes(msg)
212 if err != nil {
213 return msg, scratch, err
214 }
215 _, err = w.Write(null)
216 return msg, scratch, err
217}
218
219func rwBoolBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) {
220 b, msg, err := ReadBoolBytes(msg)

Callers

nothing calls this directly

Calls 2

ReadNilBytesFunction · 0.85
WriteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…