both bytes and bufio are done