Use buffer when reading data using io_get()