Encode time as slice of 2 ints.
Use WriteByte where possible.