Extension (Protocol)swift-protobuf 1.28.2all tags
AsyncSequence (ext)
You’re viewing third-party extensions to AsyncSequence
, a protocol from the Swift standard library.
You can also read the documentation forAsyncSequence
itself.
extension AsyncSequence
Extension in SwiftProtobuf
where Self.Element == UInt8
Instance members
func binaryProtobufDelimitedMessages<M>(of: M.Type, extensions: (any ExtensionMap)?, partial: Bool, options: BinaryDecodingOptions
) -> AsyncMessageSequence<Self, M> Creates an asynchronous sequence of size-delimited messages from this sequence of bytes. Delimited format allows a single file or stream to contain multiple messages. A delimited message is a varint encoding the message size followed by a message of exactly that size.