Generic Initializer

init(buffer:)

Creates a data buffer with copied memory content using a mutable buffer pointer. 可変バッファポインタを使って、データバッファをコピーされたメモリ内容で作成します。

Declaration 宣言

init<SourceType>(buffer: UnsafeMutableBufferPointer<SourceType>)

Parameters パラメータ

buffer

A buffer pointer to copy. The size is calculated from SourceType and buffer.count. コピーするバッファポインタ。サイズは、SourceTypebuffer.countから計算されます。

See Also 参照

Creating Populated Data 事前入力されたDataを作成する