Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-04-02-a
/
.
/
test
/
NameBinding
/
Inputs
/
NIOFoundationCompat.swift
blob: 54bae53f87d569d1c601476e80d3bb2030e9d935 [
file
] [
log
] [
blame
]
import
Foundation
extension
Data
{
@_inlineable
public
func withUnsafeBytes
<
R
>(
_ body
:
(
UnsafeRawBufferPointer
)
throws
->
R
)
rethrows
->
R
{
let
r
:
R
?
=
nil
return
r
!
}
}