Finished implement random_access_buffer.