Per #612 , @jasperpotts discovered that we often need to serialize .proto models into byte arrays. The performance of this operation could benefit from re-using the same byte array for serializing multiple objects sequentially. To this end, we need PBJ to implement writeTo(byte[]) methods in Codec as well as introduce ProtoArrayWriterTools.java utilities.
Per #612 , @jasperpotts discovered that we often need to serialize .proto models into byte arrays. The performance of this operation could benefit from re-using the same byte array for serializing multiple objects sequentially. To this end, we need PBJ to implement
writeTo(byte[])methods inCodecas well as introduceProtoArrayWriterTools.javautilities.