public byte[] ensureBufferHasCapacityLeft(int size) throws FileParsingException {
    if (bytesHolder == null) {
      bytesHolder = new ByteArrayHolder(size);
    } else {
      bytesHolder.ensureHasSpace(size);
    }
    return bytesHolder.getUnderlyingBytes();
  }
public byte [ ] ensureBufferHasCapacityLeft ( int size ) throws FileParsingException { if ( bytesHolder == null ) { bytesHolder = new ByteArrayHolder ( size ) ; } else { bytesHolder . ensureHasSpace ( size ) ; } return bytesHolder . getUnderlyingBytes ( ) ; }
Ensure, that the output data buffer has enough space left for {@code size} mode bytes.

@return the output buffer