docs: public void put(byte[] source, int index, int length)
      {
          // If the buffer is small.
          if (mBuffer.capacity() < (mLength + length))
          {
              expandBuffer(mLength + length + ADDITIONAL_BUFFER_SIZE);
          }
  
          mBuffer.put(source, index, length);
          mLength += length;
      }