MCPcopy Create free account
hub / github.com/segmentio/encoding / ReadInt64

Method ReadInt64

thrift/binary.go:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func (r *binaryReader) ReadInt64() (int64, error) {
72 b, err := r.read(8)
73 if len(b) < 8 {
74 return 0, err
75 }
76 return int64(binary.BigEndian.Uint64(b)), nil
77}
78
79func (r *binaryReader) ReadFloat64() (float64, error) {
80 b, err := r.read(8)

Callers

nothing calls this directly

Calls 2

readMethod · 0.95
Uint64Method · 0.80

Tested by

no test coverage detected