Function
init_on_head(_:unsafely_copying:reserving:)
Initializes self to an instance with the contents of source copied to out-of-line storage capable of holding at least minimum_capacity units.
static fun init_on_head(
_ self: set Self,
unsafely_copying source: PointerToBuffer<Int8>,
reserving minimum_capacity: Int
)
Details
This method can only be called in a hosted environment.