bytes icon indicating copy to clipboard operation
bytes copied to clipboard

Wrapper types to enable optimized handling of &[u8] and Vec<u8>

Results 13 bytes issues
Sort by recently updated
recently updated
newest added

While this crate helps serialize bytes in binary formats efficiently, human-readable formats will still have them as vectors of integers. Is efficient serialization in human-readable formats something potentially fitting for...

`Cow` is handled in this way in `serde`. But `serde-bytes` deserializes `Cow` by borrowing. As a result, this compiles: ```rs #[derive(Serialize, Deserialize)] struct A, } ``` But this does not...

Depending on the `is_human_readable()` value for the serializer, either chooses a binary representation or base64. Implements the suggestion of https://github.com/serde-rs/bytes/issues/37 for `BytesBuf`. Is this functionality something that you would merge?...