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

Method Int64

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

Int64 encodes and writes an int64 value into the element bitstream.

(x int64)

Source from the content-addressed store, hash-verified

277
278// Int64 encodes and writes an int64 value into the element bitstream.
279func (w *Encoder) Int64(x int64) {
280 w.Sync(SyncInt64)
281 w.rawVarint(x)
282}
283
284// Uint64 encodes and writes a uint64 value into the element bitstream.
285func (w *Encoder) Uint64(x uint64) {

Callers 2

IntMethod · 0.95
scalarMethod · 0.95

Calls 2

SyncMethod · 0.95
rawVarintMethod · 0.95

Tested by

no test coverage detected