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

Method ReadInt32

thrift/compact.go:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (r *compactReader) ReadInt32() (int32, error) {
56 v, err := r.readVarint("int32", math.MinInt32, math.MaxInt32)
57 return int32(v), err
58}
59
60func (r *compactReader) ReadInt64() (int64, error) {
61 return r.readVarint("int64", math.MinInt64, math.MaxInt64)

Callers

nothing calls this directly

Calls 1

readVarintMethod · 0.95

Tested by

no test coverage detected