Contents

init(bytes:)

Initialize a data object with copied memory content.

Declaration

init(bytes buffer: UnsafeBufferPointer<UInt8>)

Parameters

  • buffer:

    A pointer to the memory. It will be copied.

See Also

Deprecated