reserve(another:)

    Reserves another bytes worth of capacity in the output destination, in addition to the bytes already present.

    BSON.Output.swift:38
    mutating func reserve(another bytes: Int)

    Other members in extension

    Type members

    • init(capacity: Int)

      Create an empty output, reserving enough space for the specified number of bytes in the destination buffer.

    • init(preallocated: ArraySlice<UInt8>)

      Create an output with a pre-allocated destination buffer. The buffer does not need to be empty, and existing data will not be cleared.

    Instance members