fn read_null_terminated(buf: &mut Bytes) -> Result<Bytes>
Continue read until reached a \0. Used in reading string from Bytes.