---
title: MutableRawSpan
framework: swift
role: symbol
role_heading: Structure
path: swift/mutablerawspan
---

# MutableRawSpan

## Declaration

```swift
@frozen struct MutableRawSpan
```

## Topics

### Initializers

- [init()](swift/mutablerawspan/init().md)

### Instance Properties

- [byteCount](swift/mutablerawspan/bytecount.md)
- [byteOffsets](swift/mutablerawspan/byteoffsets.md)
- [bytes](swift/mutablerawspan/bytes.md)
- [isEmpty](swift/mutablerawspan/isempty.md)

### Instance Methods

- [extracting(_:)](swift/mutablerawspan/extracting(_:)-18k75.md)
- [extracting(_:)](swift/mutablerawspan/extracting(_:)-6fpo6.md)
- [extracting(_:)](swift/mutablerawspan/extracting(_:)-7d5f1.md)
- [extracting(droppingFirst:)](swift/mutablerawspan/extracting(droppingfirst:).md)
- [extracting(droppingLast:)](swift/mutablerawspan/extracting(droppinglast:).md)
- [extracting(first:)](swift/mutablerawspan/extracting(first:).md)
- [extracting(last:)](swift/mutablerawspan/extracting(last:).md)
- [extracting(unchecked:)](swift/mutablerawspan/extracting(unchecked:)-4b7xa.md)
- [extracting(unchecked:)](swift/mutablerawspan/extracting(unchecked:)-7oy38.md)
- [storeBytes(of:toByteOffset:as:)](swift/mutablerawspan/storebytes(of:tobyteoffset:as:).md)
- [storeBytes(of:toUncheckedByteOffset:as:)](swift/mutablerawspan/storebytes(of:touncheckedbyteoffset:as:).md)
- [unsafeLoad(fromByteOffset:as:)](swift/mutablerawspan/unsafeload(frombyteoffset:as:).md)
- [unsafeLoad(fromUncheckedByteOffset:as:)](swift/mutablerawspan/unsafeload(fromuncheckedbyteoffset:as:).md)
- [unsafeLoadUnaligned(fromByteOffset:as:)](swift/mutablerawspan/unsafeloadunaligned(frombyteoffset:as:).md)
- [unsafeLoadUnaligned(fromUncheckedByteOffset:as:)](swift/mutablerawspan/unsafeloadunaligned(fromuncheckedbyteoffset:as:).md)
- [withBytes(_:)](swift/mutablerawspan/withbytes(_:).md)
- [withUnsafeBytes(_:)](swift/mutablerawspan/withunsafebytes(_:).md)
- [withUnsafeMutableBytes(_:)](swift/mutablerawspan/withunsafemutablebytes(_:).md)

### Default Implementations

- [BorrowingSequence Implementations](swift/mutablerawspan/borrowingsequence-implementations.md)

## Relationships

### Conforms To

- [BorrowingSequence](swift/borrowingsequence.md)
- [ContiguousBytes](foundation/contiguousbytes.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Safe Memory Access

- [Span](swift/span.md)
- [RawSpan](swift/rawspan.md)
- [OutputSpan](swift/outputspan.md)
- [OutputRawSpan](swift/outputrawspan.md)
- [UTF8Span](swift/utf8span.md)
- [MutableSpan](swift/mutablespan.md)
