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