bytes
bytes copied to clipboard
Splice for BytesMut
In my question to move from Arc<Vec<u8>>
to BytesMut
, I am facing a couple of missing methods I had on Vec
.
One of them is splice
(https://doc.rust-lang.org/std/vec/struct.Vec.html#method.splice).
I am guessing this method could go in BufMut
?