tryPeek

fun Buffer.tryPeek(): Int

Deprecated: Use tryPeekByte instead

Peek the next unsigned byte or return -1 if no more bytes available for reading. No bytes will be marked as consumed in any case.

See Also

Buffer.tryPeekByte