bytes icon indicating copy to clipboard operation
bytes copied to clipboard

Splice for BytesMut

Open Sytten opened this issue 3 months ago • 2 comments

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?

Sytten avatar May 06 '24 14:05 Sytten