Returns a data object filled with a given number of bytes copied from a given buffer.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
A data object initialized by adding to it
length bytes of data copied from the buffer
bytes. The returned object might be different than the original receiver.