modulepackage
0.0.0-20241222093054-3ae8ef813aee
Repository: https://github.com/basecomplextech/spec.git
Documentation: pkg.go.dev
# README
Spec: Fast Alloc-Free Binary Format
See [format.md] for a format specifiction.
© 2021-2023 Ivan Korobkov
# Functions
NewListWriter returns a new list writer with a new empty buffer.
NewListWriterBuffer returns a new list writer with the given buffer.
NewMessageList returns a new message list.
NewMessageListWriter returns a new message list writer.
NewMessageWriter returns a new message writer with a new empty buffer.
NewMessageWriterBuffer returns a new message writer with the given buffer.
NewValueList returns a new value list.
NewValueListWriter returns a new value list writer.
NewValueWriter returns a new value writer with a new empty buffer.
NewValueWriterBuffer returns a new value writer with the given buffer.
NewWriter returns a new writer with a new empty buffer.
NewWriterBuffer returns a new writer with the given buffer.
OpenList opens and returns a list from bytes, or an empty list on error.
OpenListErr opens and returns a list from bytes, or an error.
OpenMessage opens and returns a message from bytes, or an empty message on error.
OpenMessageErr opens and returns a message from bytes, or an error.
OpenMessageList opens and returns a message list, or an empty list on error.
OpenMessageListErr opens and returns a message list, or an error.
OpenValue opens and returns a value from bytes, or nil on error.
OpenValueErr opens and returns a value from bytes, or an error.
OpenValueList opens and returns a value list, or an empty list on error.
OpenValueListErr opens and returns a value list, or an error.
ParseList recursively parses and returns a list.
ParseMessage recursively parses and returns a message.
ParseMessageList decodes, recursively validates and returns a list.
ParseValue recursively parses and returns a value.
ParseValueList decodes, recursively validates and returns a list.
WriteField writes a generic field using the given encode function.
# 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
No description provided by the author
# Variables
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
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
# Structs
No description provided by the author
MessageListWriter writes a list of messages.
No description provided by the author
ValueListWriter writes a list of primitive values.
# Type aliases
No description provided by the author
No description provided by the author
List is a raw list of elements.
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
Type specifies a value type.
Value is a raw value.
No description provided by the author
No description provided by the author