No overview available.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.2+
Framework
- Foundation
Declaration
func getBytes<R>(_ buffer: inout [UInt8], maxLength maxBufferCount: Int, usedLength usedBufferCount: Unsafe Mutable Pointer<Int>, encoding: String.Encoding, options: String.Encoding Conversion Options = [], range: R, remaining leftover: Unsafe Mutable Pointer<Range<Self.Index>>) -> Bool where R : Range Expression, R.Bound == String.Index