Required Instance Methodswift-protobuf 1.29.0SwiftProtobuf

withUnsafeBytes(_:)

Calls the given closure with the contents of underlying storage.

SwiftProtobufContiguousBytes.swift:44
func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R