public class Decoder extends Object implements IBaseDecoder<ByteBuffer,String>
| Modifier and Type | Method and Description |
|---|---|
int |
available(ISession session,
byte[] buffer,
int off,
int len) |
int |
available(ISession session,
ByteBuffer buffer,
boolean flipped) |
void |
decode(ISession session,
ByteBuffer data,
List<String> out) |
Class<ByteBuffer> |
getInboundType() |
Class<String> |
getOutboundType() |
public void decode(ISession session, ByteBuffer data, List<String> out) throws Exception
decode in interface IDecoder<ByteBuffer,String>Exceptionpublic Class<ByteBuffer> getInboundType()
getInboundType in interface ICodec<ByteBuffer,String>public Class<String> getOutboundType()
getOutboundType in interface ICodec<ByteBuffer,String>public int available(ISession session, ByteBuffer buffer, boolean flipped)
available in interface IBaseDecoder<ByteBuffer,String>public int available(ISession session, byte[] buffer, int off, int len)
available in interface IBaseDecoder<ByteBuffer,String>Copyright © 2017–2024 SNF4J.ORG. All rights reserved.