Replies: 1 comment 2 replies
-
If I understand your question correctly, it has two parts:
For 1, internally arrow represents an array of bools very compactly as you would expect (by packing bits into bytes). Via arrow2, the For 2, a boolean array translates to a Is the |
Beta Was this translation helpful? Give feedback.
-
I'm trying to setup derive for a bitstring/bitfield.
Here's a minimal example where I write the bits as
Utf8
instead.The commented parts are my attempts at trying to make it work, but I'm unable to figure this out.
I've tried to put this
MutableBooleanArray
into aMutableFixedSizedListArray
as you can see.This is because sometimes my struct fields are like below:
I'm getting the sense that it has to be a primitive datatype (Boolean), and that it can't be a BooleanArray.
Please help! I'm not sure how to proceed.
Example
Output:
Beta Was this translation helpful? Give feedback.
All reactions