pub fn read(result: &Array) -> Result<(usize, u32, bool)>
The accepted count, the next token and whether generation ended, read from an acceptance result in one host read.