Contents

mutableBytes

Construct a mutable raw span over the memory represented by this span.

Declaration

var mutableBytes: MutableRawSpan { mutating get }

Return Value

A MutableRawSpan over the memory represented by this span

Discussion

Mutating self through this property is unsafe because it is possible to mutate a byte so as to produce an invalid bit pattern in the corresponding instance of Element.