-
-
Notifications
You must be signed in to change notification settings - Fork 819
Closed
Milestone
Description
Since some of binary data formats support efficient representations for arrays of fixed-length scalars, let's add new writeArray(...)
value write methods. Adding 3 overloads should suffice for now:
- 2 main integral types:
int
,long
(we already havewriteBinary()
for byte arrays) - the main floating point type
,
double`
Although I earlier thought of more general approach that combines this with writeStartArray()
, it really seems much simpler, and potentially more efficient, to have unified write.
In future we may also consider addition of alternate sources, if that makes sense (ByteBuffer
and variants). Similarly we may consider support for float
and perhaps short
if there is demand for these.
Metadata
Metadata
Assignees
Labels
No labels