PacketPeer.getVar

Gets a Variant. If allow_objects (or allowObjectDecoding) is true, decoding objects is allowed. Warning: Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution.

struct PacketPeer
@nogc nothrow
Variant
getVar
(
in bool allow_objects = false
)

Meta