Required Initializergrpc-swift 2.0.0GRPCCore
init(repeating:count:)
Initialize the bytes to a repeated value.
init(repeating byte: UInt8, count: Int)
Initialize the bytes to a repeated value.
init(repeating byte: UInt8, count: Int)
s8GRPCCore19GRPCContiguousBytesP9repeating5countxs5UInt8V_Sitcfc
What are these?5556W
import GRPCCore
A gRPC library for Swift written natively in Swift.
protocol GRPCContiguousBytes
A bag-of-bytes type.
@frozen struct UInt8
An 8-bit unsigned integer value type.
@frozen struct Int
A signed integer value type.
init<Bytes>(_ sequence: Bytes) where Bytes : Sequence, Bytes.Element == UInt8
Initialize the bag of bytes from a sequence of bytes.
var count: Int { get }
The number of bytes in the bag of bytes.
func withUnsafeBytes<R>(_ body: (_ buffer: UnsafeRawBufferPointer) throws -> R) rethrows -> R
Calls the given closure with the contents of underlying storage.
mutating func withUnsafeMutableBytes<R>(_ body: (_ buffer: UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R
Calls the given closure with the contents of underlying storage.