14 lines
363 B
Swift
14 lines
363 B
Swift
//
|
|
// Copyright (c) 2020-2021 MobileCoin. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
protocol MutableData: DataConvertible, MutableCollection {
|
|
mutating func withUnsafeMutableBytes<ResultType>(
|
|
_ body: (UnsafeMutableRawBufferPointer) throws -> ResultType
|
|
) rethrows -> ResultType
|
|
}
|
|
|
|
protocol MutableDataImpl: MutableData, DataConvertibleImpl {}
|