A BufferUnderflowException is thrown when elements are read from a buffer but there are not enough elements remaining in the buffer.
A BufferUnderflowException
is thrown when elements are read from a buffer but there are not enough elements remaining in the buffer or say when the buffer is already empty.