preview

fun <T> ByteReadPacket.preview(function: (ByteReadPacket) -> T): T
fun <T> BytePacketBuilder.preview(function: (ByteReadPacket) -> T): T