code: public void makeSpace(int sizeNeeded) {
          int needed = count + sizeNeeded - buf.length;
          if (needed > 0) {
              bump(needed);
          }
      }
docs: Ensure that at least the given number of bytes are available in the
  internal buffer.
  
  @param sizeNeeded the number of bytes desired.