public class BigIntegerDecoder extends io.netty.handler.codec.ByteToMessageDecoder<BigInteger>
BigInteger prepended
with a magic number ('F' or 0x46) and a 32-bit integer length prefix into a
BigInteger instance. For example, { 'F', 0, 0, 0, 1, 42 } will be
decoded into new BigInteger("42").| Constructor and Description |
|---|
BigIntegerDecoder() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
beforeAdd, callDecode, channelInactive, decodeLast, inboundBufferUpdated, newInboundBuffer, replaceafterAdd, afterRemove, beforeRemove, channelActive, channelRegistered, channelUnregistered, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BigInteger decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in)
decode in class io.netty.handler.codec.ByteToMessageDecoder<BigInteger>Copyright © 2008-2012 The Netty Project. All Rights Reserved.