init(viewing:)
View initialized raw memory as a span of bytes.
Declaration
init(viewing bytes: RawSpan)Parameters
- bytes:
An existing
RawSpan, which will define both thisSpan’s lifetime and the memory it represents.
View initialized raw memory as a span of bytes.
init(viewing bytes: RawSpan)An existing RawSpan, which will define both this Span’s lifetime and the memory it represents.