null-terminated defines a null-terminated array type Nul parametric over the element type. I find it particularly useful dealing with C FFI where such arrays are common.
It includes methods to create a Nul of a slice, checking the last element is indeed null.
A reference to a Nul is a thin pointer so it can be readily used with FFI.