sharksforarms / deku

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

Follow MaybeUninit docs #254

Closed sharksforarms closed 2 years ago

sharksforarms commented 2 years ago

cc: @xlambein @wcampbell0x2a

i.r. https://github.com/sharksforarms/deku/pull/235

https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#initializing-an-array-element-by-element https://github.com/rust-lang/rust/issues/80908

sharksforarms commented 2 years ago

fixes https://github.com/sharksforarms/deku/issues/263