| Crates.io | tampon |
| lib.rs | tampon |
| version | 1.0.0 |
| created_at | 2022-07-16 19:46:00.530261+00 |
| updated_at | 2022-07-16 19:46:00.530261+00 |
| description | Contains SAFE Rust functions, macro and trait to serialize / deserialize data structure and/or object and generate buffer. |
| homepage | |
| repository | https://github.com/NickelAngeStudio/tampon |
| max_upload_size | |
| id | 626881 |
| size | 347,145 |
Crate that contains SAFE Rust functions, macro and trait to serialize / deserialize data structure and/or object and generate buffer.
generate_buffer(...) -> Vec<u8> - Generate a random buffer with specific size and charset.wipe_buffer(...) - Wipe a sensible buffer to prevent cold boot attack for greater security.compare_buffer(...) - Compare 2 buffers and return the absolute difference.buffer!(...) -> Vec<u8> - VVariadic macro used to create a buffer and serialize compatible variables.bytes_size!(...) -> usize - Variadic macro used to get the size in bytes of compatible variables to serialize.serialize!(...) - Variadic macro used to serialize compatible variables into a buffer.deserialize!(...) - Variadic macro used to deserialize compatible variables from a buffer.Tampon - Trait used to serialize / deserialize object.