Module rustc_serialize::opaque
source · Macros
Structs
- BufGuard 🔒Helper struct to ensure the buffer is updated after all the writes are complete. It tracks the number of written bytes and drains them all from the front of the buffer when dropped.
FileEncoder
encodes data to file via fixed-size buffer.- An integer that will always encode to 8 bytes.
Constants
- A byte that cannot occur in UTF8 sequences. Used to mark the end of a string. This way we can skip validation and still be relatively sure that deserialization did not desynchronize.