-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
The support for homogeneous arrays is missing. see StreamWriter<StreamType>::append_array
//! \todo TODO... detect homogeneous arrays and treat accordingly
//! WORK in progress
I think you made this difficult because you got the binary type wrong. I.E there is not one binary type, but all the strong typed arrays are different binary types. One should be able to write something like:
std::vector<int> ints = foo();
ubjson::Value value;
value["ints"] = ints;
and that should serialize into
[{][i][4][ints][[][$][I][#][i][5][1][2][3][4][5]
Note the [$][I]. The type of the array should be kept as passed in so that it is received that way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels