Expand description

byte_marks

byte_marks is a configurable, light weight and intuitive bytes’ boundary marker for transmitting and receiving bytes from network/files. This comes very handy while building application network protocols - one could read off the demarcated bytes of the wire and could use bincode https://github.com/bincode-org/bincode to reconstruct a struct from those bytes. The demarcating byte pattern is configured via files called byte_mark/byte_tail or environment variables named similarly and or in code. The characters in the pattern should not repeat.

Macros

A convinient macros

Structs

Enums

An enum to represent demarcating byte pattern.