接口 ReactorNettyCodec<P>
- 类型参数:
P- the message payload type
public interface ReactorNettyCodec<P>
Simple holder for a decodingFunctionand an encodingBiConsumerto use with Reactor Netty.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
方法详细资料
decode
Collection<Message<P>> decode(io.netty.buffer.ByteBuf inputBuffer)
Decode the inputByteBufinto one or moreMessages.- 参数:
inputBuffer- the input buffer to decode from- 返回:
- 0 or more decoded messages