Menu
Sign In Pricing Add Podcast

Oxide and Friends

Crates We Love

5187.285 - 5211.472 Eliza Weisman

Bytes is essentially a reference-counted byte buffer. So it's like an ARC VEC U8, except that you can take slices of it, and the slices are also owned objects that participate in the reference count of the whole buffer. So this is very nice if you want to read data from the network and then parse it into something and you want to take slices out of it.

0
💬 0

Comments

There are no comments yet.

Log in to comment.