calculateNextRecordBytes

open override fun calculateNextRecordBytes(source: BufferedSource): Long

Calculates the byte offset of the start of the next record. Cannot return 0 as you must make progress on the source. You receive a peeked source so be careful how far ahead you read.