MCPcopy Create free account
hub / github.com/cloudwego/dynamicgo / WriteInt64

Method WriteInt64

proto/binary/binary.go:264–267  ·  view source on GitHub ↗

WriteInt64

(value int64)

Source from the content-addressed store, hash-verified

262
263// WriteInt64
264func (p *BinaryProtocol) WriteInt64(value int64) error {
265 p.Buf = protowire.BinaryEncoder{}.EncodeInt64(p.Buf, value)
266 return nil
267}
268
269// WriteSint64
270func (p *BinaryProtocol) WriteSint64(value int64) error {

Callers 7

WriteBaseTypeWithDescMethod · 0.95
marshalMethod · 0.80
OnInt64Method · 0.80
OnFloat64Method · 0.80
encodeMapKeyMethod · 0.80
encodeUnknownFieldFunction · 0.80
encodePackedElementFunction · 0.80

Calls 1

EncodeInt64Method · 0.45

Tested by

no test coverage detected