AppendBuffer.extend

Increases the content length by n elements.

Note that previously returned slices must not be used after this method has been invoked because the content buffer may be relocated, turning existing slices to it into dangling references.

class AppendBuffer(T, Base : AppendBufferImpl)
T[]
extend
(
size_t n
)

Parameters

n size_t

number of characters to extend content by

Return Value

Type: T[]

slice to the portion in content by which content has been extended (last n elements in content after extension)

Meta