checks for overflow . this method is used internally to check whether a buffer has enough space left to satisfy a write request for a given number of elements . concode_field_sep int cap concode_elem_sep Pointer address concode_elem_sep int pos concode_elem_sep int limit concode_elem_sep int mark concode_field_sep void checkIfReadOnly concode_elem_sep boolean hasArray concode_elem_sep boolean hasRemaining concode_elem_sep Buffer clear concode_elem_sep void checkIndex concode_elem_sep int remaining concode_elem_sep void checkArraySize concode_elem_sep int capacity concode_elem_sep boolean isReadOnly concode_elem_sep void checkForUnderflow concode_elem_sep void checkForUnderflow concode_elem_sep Buffer rewind concode_elem_sep Object array concode_elem_sep int limit concode_elem_sep Buffer limit concode_elem_sep Buffer reset concode_elem_sep int arrayOffset concode_elem_sep int position concode_elem_sep Buffer position concode_elem_sep Buffer flip concode_elem_sep boolean isDirect concode_elem_sep Buffer mark
void function ( int arg0 ) { if ( remaining ( ) < arg0 ) throw new BufferOverflowException ( ) ; }