Instance Method (Default implementation)swift-nio 2.72.0NIOCore
decoderRemoved(context:)
Codec.swift:221mutating func decoderRemoved(context: ChannelHandlerContext)
Implements
func decoderRemoved(context: ChannelHandlerContext
) Called once this
ByteToMessageDecoder
is removed from theChannelPipeline
.
Other members in extension
Type members
Instance members
func decodeLast(context: ChannelHandlerContext, buffer: inout ByteBuffer, seenEOF: Bool
) throws -> DecodingState func decoderAdded(context: ChannelHandlerContext
) func shouldReclaimBytes(buffer: ByteBuffer
) -> Bool Default implementation to detect once bytes should be reclaimed.
func wrapInboundOut(InboundOut
) -> NIOAny