Parse a null terminated string from the buffer
buffer to read from
current offset in the buffer
a string
Parse a null terminated string from the buffer