Skip to content

Introduce writeTo(byte[]) #613

@anthony-swirldslabs

Description

@anthony-swirldslabs

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions