# Functions
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
BitOrRewriter creates a bitwise-or Rewriter for a given field type and number.
DecodeTag reverses the encoding applied by EncodeTag.
DecodeZigZag reverses the encoding applied by EncodeZigZag.
EncodeTag encodes a pair of field number and wire type into a protobuf tag.
EncodeZigZag returns v as a zig-zag encoded value.
No description provided by the author
No description provided by the author
MultiRewriter constructs a Rewriter which applies all rewriters passed as arguments.
No description provided by the author
ParseRewriteTemplate constructs a Rewriter for a protobuf type using the given json template to describe the rewrite rules.
Scan calls fn for each protobuf field in the message b.
No description provided by the author
TypeOf returns the protobuf type used to represent a go type.
No description provided by the author
# Constants
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
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
# Variables
No description provided by the author
# Structs
BitOr implments the Rewriterer interface for providing a bitwise-or rewrite logic for integers rather than replacing them.
No description provided by the author
No description provided by the author
# Interfaces
Message is an interface implemented by types that supported being encoded to and decoded from protobuf.
Rewriter is an interface implemented by types that support rewriting protobuf messages.
Rewriterer is the interface for producing a Rewriter for a given Type, FieldNumber and json.RawMessage.
Type is an interface similar to reflect.Type.
# Type aliases
FieldNumber represents a protobuf field number.
Kind is an enumeration representing the various data types supported by the protobuf language.
MessageRewriter maps field numbers to rewrite rules, satisfying the Rewriter interace to support composing rewrite rules.
RawMessage represents a raw protobuf-encoded message.
RawValue represents a single protobuf value.
RewriteFunc is a function type implementing the Rewriter interface.
RewriterRules defines a set of rules for overriding the Rewriter used for any particular field.
The WireType enumeration represents the different protobuf wire types.