+1 as well. I would love to have Data.withUnsafeBytes use this type, and I agree that UnsafeBytes and Data have orthogonal and not overlapping use cases.<br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 3, 2016 at 08:59 gs. via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<br>
I think that &#39;Unsafe&#39; is fine because the mutable variant is definitely unsafe.<br>
<br>
I have some audio related code that would benefit greatly from this addition so I am all for it.<br>
<br>
TJ<br>
<br>
&gt; On Sep 1, 2016, at 12:10, Dave Abrahams via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hello Swift community,<br>
&gt;<br>
&gt; The review of &quot;UnsafeBytes&quot; begins now and runs through September<br>
&gt; 7th. This late addition to Swift 3 is a follow-up to SE-0107:<br>
&gt; UnsafeRawPointer. It addresses common use cases for UnsafeRawPointer,<br>
&gt; allowing developers to continue working with collections of UInt8 values,<br>
&gt; but now doing so via a type safe API. The UnsafeBytes API will not require<br>
&gt; direct manipulation of raw pointers or reasoning about binding memory.<br>
&gt;<br>
&gt; The proposal is available here:<br>
&gt;<br>
&gt; &lt;<a href="https://github.com/apple/swift-evolution/blob/master/proposals/0138-unsafebytes.md" rel="noreferrer" target="_blank">https://github.com/apple/swift-evolution/blob/master/proposals/0138-unsafebytes.md</a>&gt;<br>
&gt;<br>
&gt; Reviews are an important part of the Swift evolution process. All reviews<br>
&gt; should be sent to the swift-evolution mailing list at<br>
&gt;<br>
&gt; &lt;<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a>&gt;<br>
&gt;<br>
&gt; or, if you would like to keep your feedback private, directly to the<br>
&gt; review manager. When replying, please try to keep the proposal link at<br>
&gt; the top of the message:<br>
&gt;<br>
&gt; Proposal link:<br>
&gt; &lt;<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a>&gt;<br>
&gt;<br>
&gt; What goes into a review?<br>
&gt;<br>
&gt; The goal of the review process is to improve the proposal under review<br>
&gt; through constructive criticism and, eventually, determine the direction of<br>
&gt; Swift. When writing your review, here are some questions you might want to<br>
&gt; answer in your review:<br>
&gt;<br>
&gt; * What is your evaluation of the proposal?<br>
&gt; * Is the problem being addressed significant enough to warrant a<br>
&gt;   change to Swift?<br>
&gt; * Does this proposal fit well with the feel and direction of Swift?<br>
&gt; * If you have used other languages or libraries with a similar<br>
&gt;   feature, how do you feel that this proposal compares to those?<br>
&gt; * How much effort did you put into your review? A glance, a quick<br>
&gt;   reading, or an in-depth study?<br>
&gt;<br>
&gt; More information about the Swift evolution process is available at<br>
&gt;<br>
&gt; &lt;<a href="https://github.com/apple/swift-evolution/blob/master/process.md" rel="noreferrer" target="_blank">https://github.com/apple/swift-evolution/blob/master/process.md</a>&gt;<br>
&gt;<br>
&gt; Thank you,<br>
&gt;<br>
&gt; -Dave Abrahams<br>
&gt; Review Manager<br>
&gt; _______________________________________________<br>
&gt; swift-evolution mailing list<br>
&gt; <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>