How to correctly construct vectors for fixed length arrays?
xianglin1998 opened this issue · 1 comments
xianglin1998 commented
I tried to use Flatcc to build vectors that store fixed length arrays, but after the serialized data was deserialized by Python, I printed these fixed length arrays, them all with 0.
test.fbs:
struct Key6Bytes { bytes: [uint8:6]; } table KeysArray{ keys: [Key6Bytes]; }
I did not find a similar usage in the documentation and example.
@mikkelfj Can you test the above usage? thankyou.
xianglin1998 commented
Resolved, requires the use of: xxxx_push_create(B, bytes)