Extensions on
    Slice
    Methods
        withUnsafeBufferPointer(_:)
    
    @inlinable @inline(__always)
public func withUnsafeBufferPointer<R>(_ body: (UnsafeBufferPointer<UInt8>) throws -> R) rethrows -> R Invokes body with a pointer to the contiguous UTF-8 code-units of this portion of the serialized URL string.
Parameters
| Name | Type | Description | 
|---|---|---|
| body | (UnsafeBufferPointer<UInt8>) throws -> R | A closure which processes the content of the serialized URL. |