Done: https://bugs.swift.org/browse/SR-2514 .
Martin
(Resent as text mail. I apologize for the previous HTML-only mail.)
2016-08-29 10:51 GMT+02:00 Quinn "The Eskimo!" via swift-users
:
>
> On 27 Aug 2016, at 07:45, Martin R via swift-users
>
Done: https://bugs.swift.org/browse/SR-2514 .MartinAm 29.08.2016 um 10:51 schrieb Quinn The Eskimo! via swift-users :On 27 Aug 2016, at 07:45, Martin R via swift-users wrote:Is it intentional that the description method of Data returns only the number
On 27 Aug 2016, at 07:45, Martin R via swift-users
wrote:
> Is it intentional that the description method of Data returns only the number
> of bytes, but not a hex dump of the contents (as NSData did)?
It doesn’t really matter if it was intentional or not; if it’s
Is it intentional that the description method of Data returns only the number
of bytes, but not a hex dump of the contents (as NSData did)?
let data = Data(bytes: [1, 2, 3])
print(data) // 3 bytes
print(data.debugDescription) // 3 bytes
Of course I can bridge back to NSData: