MCPcopy
hub / github.com/golang/tools / Int

Method Int

internal/pkgbits/encoder.go:294–294  ·  view source on GitHub ↗

Int encodes and writes an int value into the element bitstream.

(x int)

Source from the content-addressed store, hash-verified

292
293// Int encodes and writes an int value into the element bitstream.
294func (w *Encoder) Int(x int) { w.Int64(int64(x)) }
295
296// Uint encodes and writes a uint value into the element bitstream.
297func (w *Encoder) Uint(x uint) { w.Uint64(uint64(x)) }

Callers

nothing calls this directly

Calls 1

Int64Method · 0.95

Tested by

no test coverage detected