Class ByteArrayBuilder


  • public class ByteArrayBuilder
    extends Object
    Utility class for constructing byte[]s where the final size of the data is not known beforehand. The API is similar to ByteBuffer but the data is not actually written to a byte[] until toBuffer() or toArray() is called.
    Author:
    James Ahlborn