sharksforarms / deku

Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.15k stars 55 forks source link

Implement zero-copy read for Cow<[u8]> just like &[u8] #304

Open dullbananas opened 1 year ago

wcampbell0x2a commented 11 months ago

&[u8] was removed from deku with https://github.com/sharksforarms/deku/pull/352. Unless we add support for zero-copy in the future, we can't add support for Cow<[u8]>.