Writes a null terminated list of ints from the buffer. The given list should not contain the terminating zero.
list
void writeNullTerminatedList(List<int> list) { writeList(list); writeByte(0); }