PacketPeer.encodeBufferMaxSize

Maximum buffer size allowed when encoding Variants. Raise this value to support heavier memory allocations. The putVar method allocates memory on the stack, and the buffer used will grow automatically to the closest power of two to match the size of the Variant. If the Variant is bigger than encode_buffer_max_size, the method will error out with constant ERR_OUT_OF_MEMORY.

  1. long encodeBufferMaxSize [@property getter]
  2. long encodeBufferMaxSize [@property setter]
    struct PacketPeer
    @nogc nothrow @property
    void
    encodeBufferMaxSize
    (
    long v
    )

Meta