reserveCapacity(minimumWritableBytes:)

    Reserves enough space to write at least the specified number of bytes.

    ByteBuffer-core.swift:625
    mutating func reserveCapacity(minimumWritableBytes: Int)

    Parameters

    minimumWritableBytes

    The minimum number of writable bytes this buffer must have.

    This method will ensure that the buffer has enough writable space for at least as many bytes as requested. If the buffer already has space to write the requested number of bytes, this method will be a no-op.

    Other members in extension

    Types

    Typealiases

    Show implementation details (2)

    Hide implementation details

    Type members

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces