public class io.netty.handler.codec.string.StringDecoder extends io.netty.handler.codec.MessageToMessageDecoder
{
private final java.nio.charset.Charset charset;
public void <init>()
{
io.netty.handler.codec.string.StringDecoder v;
java.nio.charset.Charset v;
v := @this: io.netty.handler.codec.string.StringDecoder;
v = staticinvoke <java.nio.charset.Charset: java.nio.charset.Charset defaultCharset()>();
specialinvoke v.<io.netty.handler.codec.string.StringDecoder: void <init>(java.nio.charset.Charset)>(v);
return;
}
public void <init>(java.nio.charset.Charset)
{
java.lang.Object v;
io.netty.handler.codec.string.StringDecoder v;
java.nio.charset.Charset v;
v := @this: io.netty.handler.codec.string.StringDecoder;
v := @parameter: java.nio.charset.Charset;
specialinvoke v.<io.netty.handler.codec.MessageToMessageDecoder: void <init>()>();
v = staticinvoke <io.netty.util.internal.ObjectUtil: java.lang.Object checkNotNull(java.lang.Object,java.lang.String)>(v, "charset");
v.<io.netty.handler.codec.string.StringDecoder: java.nio.charset.Charset charset> = v;
return;
}
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf, java.util.List) throws java.lang.Exception
{
io.netty.channel.ChannelHandlerContext v;
java.util.List v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.string.StringDecoder v;
java.nio.charset.Charset v;
java.lang.String v;
v := @this: io.netty.handler.codec.string.StringDecoder;
v := @parameter: io.netty.channel.ChannelHandlerContext;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: java.util.List;
v = v.<io.netty.handler.codec.string.StringDecoder: java.nio.charset.Charset charset>;
v = virtualinvoke v.<io.netty.buffer.ByteBuf: java.lang.String toString(java.nio.charset.Charset)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return;
}
}