类 SizePrepender

    • 字段详细资料

      • MAX_PREPEND_LENGTH

        private static final int MAX_PREPEND_LENGTH
        The max length, in number of bytes, of the prepending size var int permitted. Has value 3.
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Loi;a:I
        intermediary field_33288 Lnet/minecraft/class_2552;field_33288:I
        named MAX_PREPEND_LENGTH Lnet/minecraft/network/SizePrepender;MAX_PREPEND_LENGTH:I
    • 构造器详细资料

      • SizePrepender

        public SizePrepender()
    • 方法详细资料

      • encode

        protected void encode​(ChannelHandlerContext channelHandlerContext,
                              ByteBuf byteBuf,
                              ByteBuf byteBuf2)
        指定者:
        encode 在类中 MessageToByteEncoder<ByteBuf>
        Mappings:
        Namespace Name Mixin selector
        official a Loi;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
        intermediary method_10840 Lnet/minecraft/class_2552;method_10840(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
        named encode Lnet/minecraft/network/SizePrepender;encode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V