Contents

init(bytes:count:)

Creates data with copied memory content.

Declaration

init(bytes: UnsafeRawPointer, count: Int)

Parameters

  • bytes:

    A pointer to the memory to copy.

  • count:

    The number of bytes to copy.

See Also

Creating Populated Data