Crate binary_util_derive

Source
Expand description

This crate provides a set of proc-macros that can be used to derive traits from binary-util. This crate is not intended to be used directly, and is only used as a dependency for binary-util. If you are looking for a way to implement the Reader and Writer traits, please see the documentation for binary-util.

Derive Macrosยง

BinaryIo
This proc-macro implements both the Reader and Writer traits from binary_util::interfaces. It is important to note that not all attributes can be used on all types, and some attributes are exclusive to certain variants.
BinaryStreamDeprecated
DEPRECATED. This is a legacy proc-macro that is used to generate a BufferStream. It provides an easy way to implement the Streamable trait.