MCPcopy
hub / github.com/golang/protobuf / EncodeFixed64

Method EncodeFixed64

proto/buffer.go:162–165  ·  view source on GitHub ↗

EncodeFixed64 appends a 64-bit little-endian integer to the buffer.

(v uint64)

Source from the content-addressed store, hash-verified

160
161// EncodeFixed64 appends a 64-bit little-endian integer to the buffer.
162func (b *Buffer) EncodeFixed64(v uint64) error {
163 b.buf = protowire.AppendFixed64(b.buf, uint64(v))
164 return nil
165}
166
167// EncodeRawBytes appends a length-prefixed raw bytes to the buffer.
168func (b *Buffer) EncodeRawBytes(v []byte) error {

Callers 1

TestNumericPrimitivesFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestNumericPrimitivesFunction · 0.64