code: public DynamicByteBuffer add( byte[] array ) {
          if ( array.length + this.length < capacity ) {
              DynamicByteBufferHelper._idx( buffer, length, array );
          } else {
              buffer = DynamicByteBufferHelper.grow( buffer, buffer.length * 2 + array.length );
              capacity = buffer.length;
  
              DynamicByteBufferHelper._idx( buffer, length, array );
  
          }
          length += array.length;
          return this;
      }
docs: Adds the.
  
  @param array the array
  @return the dynamic byte buffer