ByteBufferInput.read method don't use offset