MCPcopy Create free account
hub / github.com/google/gapid / Pad

Method Pad

gapis/memory/encoder.go:61–64  ·  view source on GitHub ↗

Pad writes n zero bytes to the writer.

(n uint64)

Source from the content-addressed store, hash-verified

59
60// Pad writes n zero bytes to the writer.
61func (e *Encoder) Pad(n uint64) {
62 binary.WriteBytes(e.w, 0, int32(n))
63 e.o += n
64}
65
66// Pointer stores a pointer address.
67func (e *Encoder) Pointer(addr uint64) {

Callers 2

AlignMethod · 0.95
encodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected