MCPcopy Index your code
hub / github.com/tinylib/msgp / rwIntBytes

Function rwIntBytes

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

Source from the content-addressed store, hash-verified

230}
231
232func rwIntBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) {
233 i, msg, err := ReadInt64Bytes(msg)
234 if err != nil {
235 return msg, scratch, err
236 }
237 scratch = strconv.AppendInt(scratch[0:0], i, 10)
238 _, err = w.Write(scratch)
239 return msg, scratch, err
240}
241
242func rwUintBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) {
243 u, msg, err := ReadUint64Bytes(msg)

Callers

nothing calls this directly

Calls 2

ReadInt64BytesFunction · 0.85
WriteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…