Contents

extracting(_:)

Constructs a new span over all the bytes of this span.

Declaration

func extracting(_: (UnboundedRange_) -> ()) -> RawSpan

Return Value

A span over all the bytes of this span.

Discussion

The returned span’s first byte is always at offset 0; unlike buffer slices, extracted spans do not share their indices with the span from which they are extracted.