peekValue

abstract fun peekValue(stream: StreamProcessor, baseOffset: Int = 0): VarLenPeek<T>

Decode the value and its byte length from a stream prefix beginning at baseOffset, without consuming any bytes. Returns VarLenPeek.NeedsMoreData when the prefix is too short to determine either.