@FunctionalInterface public interface DecoderFunction
| Modifier and Type | Method and Description |
|---|---|
Packet |
apply(ChannelContext context,
ByteBuffer buffer,
int readableLength)
解码函数
|
Packet apply(ChannelContext context, ByteBuffer buffer, int readableLength) throws TioDecodeException
buffer - ByteBufferreadableLength - readableLengthcontext - ChannelContextTioDecodeException - TioDecodeExceptionCopyright © 2025. All rights reserved.