StreamPeer.getVar

Gets a Variant from the stream. If allow_objects 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 StreamPeer
@nogc nothrow
Variant
getVar
(
in bool allow_objects = false
)

Meta