github.com/tokio-rs/bytes
Utilities for working with bytes
https://github.com/tokio-rs/bytes
Confusing documentation around `Arc<[u8]>` compatibility
BTOdell opened this issue over 1 year ago
BTOdell opened this issue over 1 year ago
Implement `Bytes::from_raw_parts`
JackKelly opened this pull request over 1 year ago
JackKelly opened this pull request over 1 year ago
feat: support From<&[u8; N]> for Bytes
cjwcommuny opened this pull request over 1 year ago
cjwcommuny opened this pull request over 1 year ago
Don't set `len` in `BytesMut::reserve`
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
chore: prepare v1.6.0
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Contradictory allocation behaviour compared to documentation
shahn opened this issue over 1 year ago
shahn opened this issue over 1 year ago
Enable shrinking of allocations
tgnottingham opened this issue over 1 year ago
tgnottingham opened this issue over 1 year ago
Bytes: Use ManuallyDrop instead of mem::forget
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Remove commented tests for Bytes::unsplit
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
copy_to_bytes: Add panic section to docs
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Use ManuallyDrop instead of mem::forget
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Remove redundant reserve call
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Use Iterator from the prelude
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
set_vec_pos does not need a second parameter
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Copy only unread bytes in BytesMut::reserve
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
get_vec_pos: use &self instead of &mut self
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Improve the performance of put_u8 and put_i8
YHM404 opened this pull request over 1 year ago
YHM404 opened this pull request over 1 year ago
Use sub instead of offset
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Calculate original capacity only if necessary
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Restore commented tests
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
`BufMut` does not include safety invariants in trait documentation
djkoloski opened this issue over 1 year ago
djkoloski opened this issue over 1 year ago
Refactor split_at/split_to
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Remove an unnecessary else
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Remove unreachable else
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Remove some unnecessary namespaces
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Move rebuild_vec into a method
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Add SeekBuf trait and BufCursor implementation
dylanplecki opened this pull request over 1 year ago
dylanplecki opened this pull request over 1 year ago
Feature Request: Seekable Buffer ("SeekBuf") and cursor/iterator support
dylanplecki opened this issue over 1 year ago
dylanplecki opened this issue over 1 year ago
Add support for the nightly unstable allocator API
dylanplecki opened this pull request over 1 year ago
dylanplecki opened this pull request over 1 year ago
Add Buf and BufMut auto-impl for pinned data types
dylanplecki opened this pull request over 1 year ago
dylanplecki opened this pull request over 1 year ago
Feature Request: Default implementations for pinned types
dylanplecki opened this issue over 1 year ago
dylanplecki opened this issue over 1 year ago
Feature Request: Default implementations for heap types which support the unstable allocator API
dylanplecki opened this issue over 1 year ago
dylanplecki opened this issue over 1 year ago
BytesMut: Assert alignment of Shared
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Update loom to 0.7
taiki-e opened this pull request over 1 year ago
taiki-e opened this pull request over 1 year ago
Update CI config
taiki-e opened this pull request over 1 year ago
taiki-e opened this pull request over 1 year ago
readme: add security policy
Darksonn opened this pull request over 1 year ago
Darksonn opened this pull request over 1 year ago
Potential to modify ordering for load in bytes.rs and bytes_mut.rs
wang384670111 opened this issue over 1 year ago
wang384670111 opened this issue over 1 year ago
Need to obtain remaining buffer space
Hans-Wu-cn opened this issue over 1 year ago
Hans-Wu-cn opened this issue over 1 year ago
Any way to convert `HeaderValue` to `Bytes` without copying?
stackinspector opened this issue over 1 year ago
stackinspector opened this issue over 1 year ago
Provide APIs or mode that have similar non-panic guarantees to the `untrusted` crate
stackinspector opened this issue over 1 year ago
stackinspector opened this issue over 1 year ago
uninit_slice: simplify as_uninit_slice_mut() logic
lucab opened this pull request over 1 year ago
lucab opened this pull request over 1 year ago
add `Bytes::is_unique`
Cyborus04 opened this pull request over 1 year ago
Cyborus04 opened this pull request over 1 year ago
Self:: -> self.
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Use let-else in buf_get_impl
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Is there a comparison of `bytes::Bytes` and `std::io::Bytes`/&[u8]`?
MaxG87 opened this issue over 1 year ago
MaxG87 opened this issue over 1 year ago
docs: fix broken links
kaffarell opened this pull request over 1 year ago
kaffarell opened this pull request over 1 year ago
How to use uninitialized BytesMut?
surban opened this issue over 1 year ago
surban opened this issue over 1 year ago
docs: typo fix
DanielBauman88 opened this pull request almost 2 years ago
DanielBauman88 opened this pull request almost 2 years ago
remove deprecated primitive type
thorseraq opened this pull request almost 2 years ago
thorseraq opened this pull request almost 2 years ago
Various cleanup
Darksonn opened this pull request almost 2 years ago
Darksonn opened this pull request almost 2 years ago
docs: unclear how to free memory from a bytesmut
Firstyear opened this issue almost 2 years ago
Firstyear opened this issue almost 2 years ago
[ISSUE #632]docs: fix some spelling mistakes
mxsm opened this pull request almost 2 years ago
mxsm opened this pull request almost 2 years ago
Fix some spelling mistakes
mxsm opened this issue almost 2 years ago
mxsm opened this issue almost 2 years ago
impl From<Box<[u8; _]>> for Bytes
MarinPostma opened this pull request almost 2 years ago
MarinPostma opened this pull request almost 2 years ago
Remove ptr_map special casing for miri (#565)
shahn opened this pull request almost 2 years ago
shahn opened this pull request almost 2 years ago
Move comment to correct constant
rukai opened this pull request almost 2 years ago
rukai opened this pull request almost 2 years ago
doc: fix changelog typo
Darksonn opened this pull request almost 2 years ago
Darksonn opened this pull request almost 2 years ago
chore: prepare v1.5.0
Darksonn opened this pull request almost 2 years ago
Darksonn opened this pull request almost 2 years ago
New release?
samanpa opened this issue almost 2 years ago
samanpa opened this issue almost 2 years ago
bytes::BytesMut::extend_from_slice or mio::net::TcpSocket produces unexpected result
softstream-link opened this issue almost 2 years ago
softstream-link opened this issue almost 2 years ago
Add support for Nom
nm17 opened this issue almost 2 years ago
nm17 opened this issue almost 2 years ago
Why is the `data` pointer atomic?
RalfJung opened this issue almost 2 years ago
RalfJung opened this issue almost 2 years ago
Add specialized get_X impls for Bytes struct to reduce dead code
Walnut356 opened this pull request almost 2 years ago
Walnut356 opened this pull request almost 2 years ago
There is no Bytes::advance
Garmelon opened this issue almost 2 years ago
Garmelon opened this issue almost 2 years ago
Unable to try_reclaim(..) a BytesMut allocation
benschulz opened this issue almost 2 years ago
benschulz opened this issue almost 2 years ago
Integer Overflow Panic Bug in Library
XizheYin-NJU opened this issue about 2 years ago
XizheYin-NJU opened this issue about 2 years ago
Patch to use portable-atomics for extra-platforms
lorenuars19 opened this pull request about 2 years ago
lorenuars19 opened this pull request about 2 years ago
add specialized `Buf::chunks_vectored` for `Take`
srijs opened this pull request about 2 years ago
srijs opened this pull request about 2 years ago
Fix CI failure
taiki-e opened this pull request about 2 years ago
taiki-e opened this pull request about 2 years ago
Export `BytesMut::from_vec(vec)`
al8n opened this issue about 2 years ago
al8n opened this issue about 2 years ago
Why not impl `Buf::get_array<const N: usize>(&mut self) -> [u8; N]`?
stackinspector opened this issue about 2 years ago
stackinspector opened this issue about 2 years ago
Add `BytesMut::try_reserve()`
poliorcetics opened this pull request about 2 years ago
poliorcetics opened this pull request about 2 years ago
Unnecessary `Sized` constraint on `BufMut::put` method?
GrizzlT opened this issue about 2 years ago
GrizzlT opened this issue about 2 years ago
Bytes::make_mut
mattfbacon opened this issue over 2 years ago
mattfbacon opened this issue over 2 years ago
make Bytes repr(C)?
dovahcrow opened this issue over 2 years ago
dovahcrow opened this issue over 2 years ago
An arithmetic overflow bug found by afl.rs
Koral77 opened this issue over 2 years ago
Koral77 opened this issue over 2 years ago
Add protobuf-style variable-length serialization / deserialization
arnohaase opened this issue over 2 years ago
arnohaase opened this issue over 2 years ago
Align BytesMut to page boundary (4096 bytes)
pkolaczk opened this issue over 2 years ago
pkolaczk opened this issue over 2 years ago
feat: make alloc optional
GabrielDertoni opened this pull request over 2 years ago
GabrielDertoni opened this pull request over 2 years ago
Adds `from_slice()` method for Bytes creating Bytes from a slice thereof
xfbs opened this pull request over 2 years ago
xfbs opened this pull request over 2 years ago
Missing way to create Bytes from a slice of Bytes
xfbs opened this issue over 2 years ago
xfbs opened this issue over 2 years ago
Implement `BufMut` for `RefMut`
jkbpvsc opened this pull request over 2 years ago
jkbpvsc opened this pull request over 2 years ago
Know ahead of time whether `.reserve` will reallocate
yshui opened this issue over 2 years ago
yshui opened this issue over 2 years ago
allow to construct BytesMut with custom alignment
Wireless4024 opened this pull request over 2 years ago
Wireless4024 opened this pull request over 2 years ago
Please allow to construct BytesMut with custom alignment
Wireless4024 opened this issue over 2 years ago
Wireless4024 opened this issue over 2 years ago
Rename UninitSlice constructors for consistency with ReadBuf
mina86 opened this pull request over 2 years ago
mina86 opened this pull request over 2 years ago
Add a safe way to create UninitSlice from slices
mina86 opened this pull request over 2 years ago
mina86 opened this pull request over 2 years ago
Implement BufMut for `&mut [MaybeUninit<u8>]`
mina86 opened this pull request over 2 years ago
mina86 opened this pull request over 2 years ago
Introduce SharedBuf trait for Bytes VTable
rrichardson opened this pull request over 2 years ago
rrichardson opened this pull request over 2 years ago
Mark BytesMut::extend_from_slice as inline (#1)
samanpa opened this pull request over 2 years ago
samanpa opened this pull request over 2 years ago
[Question] Is it reasonable to have cost efficient constructor for BytesMut?
ileixe opened this issue over 2 years ago
ileixe opened this issue over 2 years ago
chore: prepare bytes v1.4.0
Darksonn opened this pull request over 2 years ago
Darksonn opened this pull request over 2 years ago
Avoid large reallocations when freezing BytesMut
bk2204 opened this pull request over 2 years ago
bk2204 opened this pull request over 2 years ago
Document which `Buf` and `BufMut` functions require `std`
MrGunflame opened this pull request over 2 years ago
MrGunflame opened this pull request over 2 years ago
heap-buffer-overflow when calling `bytes::buf::UninitSlice::write_byte`
bhao-Soo opened this issue over 2 years ago
bhao-Soo opened this issue over 2 years ago
out-of-memory due to `bytes::BytesMut::with_capacity`
bhao-Soo opened this issue over 2 years ago
bhao-Soo opened this issue over 2 years ago
Allocation-size-too-big caused by `bytes::BytesMut::zeroed`
bhao-Soo opened this issue over 2 years ago
bhao-Soo opened this issue over 2 years ago
`BytesMut::freeze` is not always zero-cost as documented
bk2204 opened this issue over 2 years ago
bk2204 opened this issue over 2 years ago
Add *_unchecked methods
semtexzv opened this issue over 2 years ago
semtexzv opened this issue over 2 years ago
Fix duplicate "the the" typos
xpromache opened this pull request over 2 years ago
xpromache opened this pull request over 2 years ago