Expand description
Miscellaneous code shared for all the crates inside the ZEL.ZIP project.
Has partial support for no_std
mode by disabling the default std
feature flag. Extra suport
for “alloc-compatible” no_std
environments is available by enabling the alloc
feature flag.
Macros§
- read_
exact - Macro that creates a local buffer slice variable to store some arbitraty data from a std::io::Read.
- read_
string - Macro that creates an string (null-terminated) of a fixed sized from a stream. a std::io::Read.
Structs§
- AesCbc
Stream - Stream of AES-128 encrypted bytes.
- Recall
View - Like View but can remember the original position of the stream and automatically put it back to its correct place.
- Stream
Pin - Wrapper for a stream (Seek and Write and/or Read) that stores the position when the pin was created and allow to do some operations around that value.
- View
- Create a bounded limited view of a stream (Seek with Read and/or Write).
Traits§
- ReadEx
- Extension trait of Read with useful miscellaneous operations.
- String
Ex - Extension trait of String with useful miscellaneous operations.
- WriteEx
- Extension trait of Write with useful miscellaneous operations.
Functions§
- align_
to_ boundary - Align a value to the next multiple of the given boundary.
Type Aliases§
- Aes128
CbcDec - Decryptor of AES-128 encrypted bytes.