10 releases
new 0.2.8 | Jan 26, 2025 |
---|---|
0.2.7 | Jan 26, 2025 |
0.2.2 | Dec 26, 2024 |
0.1.14 | Nov 24, 2024 |
#732 in Encoding
540 downloads per month
Used in 3 crates
69KB
1.5K
SLoC
bytecon
Allows for the convenient conversion of types from and to arrays of bytes.
Features
- Default
- Usage of the ByteCon trait allows for appending and extracting bytes from a byte array. This is very useful for interacting with a byte stream.
"burn"
- Contains implementations for the
burn
crate.- Excludes:
DType
- Excludes:
- Contains implementations for the
"burn_dtype"
- Contains the specific implementation for the
burn
crate'sDType
type since it can conflict with the"bincode"
feature. - Only use this feature if you are NOT using
"bincode"
.
- Contains the specific implementation for the
"tokio"
- Contains implementations for the
tokio
andtokio-rustls
crate.TlsStream<T: AsyncWrite + AsyncRead + Unpin>
Sender<Vec<u8>>
Receiver<Vec<u8>>
- Contains implementations for the
"bincode"
- Contains implementations for the
bincode
crate. - This feature conflicts with the
"burn_dtype"
feature.
- Contains implementations for the
"rand"
- Contains implementations for the
rand
andrand_chacha
crates.
- Contains implementations for the
"rustls"
- Contains implementations for the
rustls
crate
- Contains implementations for the
"bevy"
- Contains implementations for the
bevy
crate, version 0.15
- Contains implementations for the
Coming soon
- Additional implementations for other common crates
- Feel free to add issues for your favorite crates
Dependencies
~0.2–46MB
~804K SLoC