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

Struct CompactProtocol

thrift/compact.go:15–15  ·  view source on GitHub ↗

CompactProtocol is a Protocol implementation for the compact thrift protocol. https://github.com/apache/thrift/blob/master/doc/specs/thrift-compact-protocol.md#integer-encoding

Source from the content-addressed store, hash-verified

13//
14// https://github.com/apache/thrift/blob/master/doc/specs/thrift-compact-protocol.md#integer-encoding
15type CompactProtocol struct{}
16
17func (p *CompactProtocol) NewReader(r io.Reader) Reader {
18 return &compactReader{protocol: p, binary: binaryReader{r: r}}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected