Instance Method (Default implementation)swift-nio 2.72.0NIOCore
decodeLast(context:buffer:seenEOF:)
Codec.swift:250mutating func decodeLast(context: ChannelHandlerContext, buffer: inout ByteBuffer, seenEOF: Bool) throws -> DecodingState
Implements
func decodeLast(context: ChannelHandlerContext, buffer: inout ByteBuffer, seenEOF: Bool
) throws -> DecodingState Decode from a
ByteBuffer
when no more data is incoming and theByteToMessageDecoder
is about to leave the pipeline.
Other members in extension
Type members
Instance members
func decoderAdded(context: ChannelHandlerContext
) func decoderRemoved(context: ChannelHandlerContext
) func shouldReclaimBytes(buffer: ByteBuffer
) -> Bool Default implementation to detect once bytes should be reclaimed.
func wrapInboundOut(InboundOut
) -> NIOAny