package
0.4.1
Repository: https://github.com/segmentio/encoding.git
Documentation: pkg.go.dev

# Functions

Marshal serializes v into a thrift representation according to the the protocol p.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unmarshal deserializes the thrift data from b to v using to the protocol p.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
CoalesceBoolFields is advertised by protocols that allow encoders to coalesce boolean values into field types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeltaEncoding is advertised by protocols that allow encoders to apply delta encoding on struct fields.

# Structs

BinaryProtocol is a Protocol implementation for the binary thrift protocol.
CompactProtocol is a Protocol implementation for the compact thrift protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

The Protocol interface abstracts the creation of low-level thrift readers and writers implementing the various protocols that the encoding supports.
Reader represents a low-level reader of values encoded according to one of the thrift protocols.
Writer represents a low-level writer of values encoded according to one of the thrift protocols.

# Type aliases

Features is a bitset describing the thrift encoding features supported by protocol implementations.
No description provided by the author
No description provided by the author
No description provided by the author