public class BigIntegerDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
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 |
|---|---|
protected BigInteger |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
callDecode, channelInactive, channelReadSuspended, decodeLast, inboundBufferUpdated, isSingleDecode, setSingleDecodediscardInboundReadBytes, freeInboundBuffer, inboundBufferUpdated, newInboundBufferchannelActive, channelRegistered, channelUnregisteredafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected BigInteger decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in)
decode in class io.netty.handler.codec.ByteToMessageDecoderCopyright © 2008-2013 The Netty Project. All Rights Reserved.