The functions that the readwritesplit uses can assume that the buffer contains only one packet in contiguous memory.