Edoardo Luppi
07/01/2023, 6:43 PMByteReadPacket, is there a way to peek instead of reading?
I don't want the read pointer to advance in certain circumstancesAleksei Tirman [JB]
07/03/2023, 6:42 AMInput.tryPeek and Input.peekTo methods.Edoardo Luppi
07/03/2023, 8:46 AMChunkBuffer.
It seems you have to "borrow" it? Also I can't specify a size it seemsEdoardo Luppi
07/03/2023, 8:58 AMval buffer = ChunkBuffer(ByteBuffer.allocate(Int.SIZE_BYTES))
packet.peekTo(buffer)