skip

fun skip(length: Int)

Advances past exactly length bytes without materializing them.

The bytes still have to leave the stream - a payload left in it is read as the next message's tag by everything that comes after - but a payload nothing will look at needs no array to be read into, which is the only part readBytes would add.