github.com/fluhus/gostuff@v0.4.1-0.20240331134726-be71864f2b5d/bnry/doc.go (about)

     1  // Package bnry provides simple functions for encoding and decoding values as
     2  // binary.
     3  //
     4  // # Supported data types
     5  //
     6  // The types that can be encoded and decoded are
     7  // int*, uint* (excluding int and uint), float*, bool, string and
     8  // slices of these types.
     9  // [Read] and [UnmarshalBinary] expect pointers to these types,
    10  // while [Write] and [MarshalBinary] expect non-pointers.
    11  package bnry