basic_streambuf::gbump

void gbump(int n);

The member function adds n to the next pointer for the input buffer.