fix java.nio.BufferUnderflowException in ByteBufferBackedInputStream