Required Associated Typeswift-nio 2.72.0NIOCore
InboundOut
The decoded type this NIOSingleStepByteToMessageDecoder
decodes to. To conform to ByteToMessageDecoder
it must be called InboundOut
- see https://bugs.swift.org/browse/SR-11868.
associatedtype InboundOut
Restates
associatedtype InboundOut
The type of the messages this
ByteToMessageDecoder
decodes to.
Other requirements
Instance members
func decode(buffer: inout ByteBuffer
) throws -> InboundOut? Decode from a
ByteBuffer
.func decodeLast(buffer: inout ByteBuffer, seenEOF: Bool
) throws -> InboundOut? Decode from a
ByteBuffer
when no more data is incoming.