package
1.0.0
Repository: https://github.com/richardartoul/molecule.git
Documentation: pkg.go.dev

# README

Codec

This package is a modified version of code found in: https://github.com/jhump/protoreflect

The LICENSE file in this folder is the license for the original source code.

# Functions

AsTagAndWireType converts the given varint in to a field number and wireType As of now, this function is inlined.
DecodeZigZag32 decodes a signed 32-bit integer from the given zig-zag encoded value.
DecodeZigZag64 decodes a signed 64-bit integer from the given zig-zag encoded value.
NewBuffer creates a new buffer with the given slice of bytes as the buffer's initial contents.

# 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
Constants that identify the encoding of a value on the wire.
Constants that identify the encoding of a value on the wire.
Constants that identify the encoding of a value on the wire.
Constants that identify the encoding of a value on the wire.
Constants that identify the encoding of a value on the wire.
Constants that identify the encoding of a value on the wire.

# Variables

ErrBadWireType is returned when decoding a wire-type from a buffer that is not valid.
ErrOverflow is returned when an integer is too large to be represented.

# Structs

Buffer is a reader and a writer that wraps a slice of bytes and also provides API for decoding and encoding the protobuf binary format.

# Type aliases

FieldType represents a protobuf field type.
WireType represents a protobuf encoding wire type.