Categorygithub.com/oddy/b3-go
modulepackage
1.0.7
Repository: https://github.com/oddy/b3-go.git
Documentation: pkg.go.dev

# README

B3-go = Better Binary Buffers, for Go

B3 is a binary serializer which is easy like json, compact like msgpack, and powerful like protobuf,

B3 is a data serializer, it packs data structures to bytes & vice versa. It has:

  • The schema power of protobuf, without the setup/compiler pain,
  • The quick-start ease of json.dumps, but with support for datetimes,
  • The compactness of msgpack, but without a large zoo of data types.

With B3 you can fast-start with schema-less data (like json), and move to schemas (like protobuf) later & stay compatible. Or have ad-hoc json-like clients talk to rigorous protobuf-like servers without pain & suffering.

The small number of lovingly-handcrafted data types means often the only choice you need make is between Fast or Compact.

This is the Golang version. For more information & wire-format documentation, see the python reference implementation https://github.com/oddy/b3

This code is currently PRE-ALPHA, WIP/incomplete.

  • SCHED and DECIMAL support TBC
  • Current composite support is dict-like to/from golang Structs. python/json dynamic-style list/dict with all-interface{}-s TBC.

# 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
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
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

-------------- OLD ------------------------ policy: todo: do we want to change the type constant prefix from B3_ ? (turns out yes).
No description provided by the author
No description provided by the author
day/month/year values (no TZ stuff) for future times and/or datestamps.
True or False.
array of bytes.Note: str in py2.
encoded as 2 float64s.
Arbitrary Precision decimals.
(e) dict-like composite object.
IEEE754 64bit signed float.
No description provided by the author
(d) list-like composite object.
signed 64bit integer.
Datetime with tz/offset/subsec etc.for future times.
signed varint, zigzag encoded.
unsigned 64bit integer.
UTF8 strings.
unsigned varint (small or v.large ints).

# Variables

new.
old.
No description provided by the author
No description provided by the author
new.
old.

# Structs

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author