logo
Expand description

Crate that contains SAFE Rust functions, macro and trait to serialize / deserialize data structure and/or object and generate buffer.

Modules

Buffer generator flags used to provide character sets when using generate_buffer.

Macros

Variadic macro used to create a buffer and serialize compatible variables.

Variadic macro used to get the size in bytes of compatible variables to serialize.

Variadic macro used to deserialize compatible variables from a buffer.

Variadic macro used to serialize compatible variables into a buffer.

Constants

For compatibility between 32-bit and 64-bit architectures, the maximum slice size allowed is u32::MAX which take 4 bytes.

Traits

Trait used to serialize / deserialize object.

Functions

Compare 2 buffers and return the absolute difference.

Generate a random u8 buffer with specific size and charset.

Wipe a buffer, overwriting content with zeroes.