encodeBufferMaxSize

    Maximum buffer size allowed when encoding Variants. Raise this value to support heavier memory allocations.

    PacketPeer.swift:23
    final var encodeBufferMaxSize: Int32 { get set }

    The putVar(_:fullObjects:) 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 encodeBufferMaxSize, the method will error out with errOutOfMemory.

    Other members in extension

    Type members

    Instance members