nextLengthDelimited

Reads and returns the length of the next message in a length-delimited stream.