|
30 | 30 | /// a raw buffer are untyped operations. Accessing this collection's bytes
|
31 | 31 | /// does not bind the underlying memory to `UInt8`.
|
32 | 32 | ///
|
33 |
| -/// In addition to its collection interface, an `${Self}` instance also supports |
34 |
| -/// the following methods provided by `UnsafeMutableRawPointer`, including |
35 |
| -/// bounds checks in debug mode: |
| 33 | +/// In addition to its collection interface, an `${Self}` |
| 34 | +/// instance also supports the following methods provided by |
| 35 | +/// `UnsafeMutableRawPointer`, including bounds checks in debug mode: |
36 | 36 | ///
|
37 | 37 | /// - `load(fromByteOffset:as:)`
|
| 38 | +/// - `loadUnaligned(fromByteOffset:as:)` |
38 | 39 | /// - `storeBytes(of:toByteOffset:as:)`
|
39 | 40 | /// - `copyMemory(from:)`
|
40 | 41 | % else:
|
|
43 | 44 | /// of values held in that memory. Reading from memory through a raw buffer is
|
44 | 45 | /// an untyped operation.
|
45 | 46 | ///
|
46 |
| -/// In addition to its collection interface, an `${Self}` instance also supports |
47 |
| -/// the `load(fromByteOffset:as:)` method provided by `UnsafeRawPointer`, |
48 |
| -/// including bounds checks in debug mode. |
| 47 | +/// In addition to its collection interface, an `${Self}` |
| 48 | +/// instance also supports the `load(fromByteOffset:as:)` |
| 49 | +/// and `loadUnaligned(fromByteOffset:as:)` methods provided by |
| 50 | +/// `UnsafeRawPointer`, including bounds checks in debug mode. |
49 | 51 | % end
|
50 | 52 | ///
|
51 | 53 | /// To access the underlying memory through typed operations, the memory must
|
|
0 commit comments