modular-bitfield icon indicating copy to clipboard operation
modular-bitfield copied to clipboard

Get reference and mutable reference to bytes

Open Ace314159 opened this issue 3 years ago • 1 comments

Currently calling into_bytes() consumes the object, but it would be nice to have access to the bytes via a reference or mutable reference.

Ace314159 avatar Jul 21 '21 19:07 Ace314159

Seconding this — even a non-mutable reference could possibly be a make-or-break feature for me.

Qyriad avatar Aug 04 '21 02:08 Qyriad