类 CipherBase

java.lang.Object
net.minecraft.network.CipherBase

public class CipherBase extends Object
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final Cipher
     
    private byte[]
     
    private byte[]
     
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    CipherBase(Cipher p_129403_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private byte[]
    bufToByte(io.netty.buffer.ByteBuf p_129405_)
     
    protected io.netty.buffer.ByteBuf
    decipher(io.netty.channel.ChannelHandlerContext p_129410_, io.netty.buffer.ByteBuf p_129411_)
     
    protected void
    encipher(io.netty.buffer.ByteBuf p_129407_, io.netty.buffer.ByteBuf p_129408_)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • cipher

      private final Cipher cipher
    • heapIn

      private byte[] heapIn
    • heapOut

      private byte[] heapOut
  • 构造器详细资料

    • CipherBase

      protected CipherBase(Cipher p_129403_)
  • 方法详细资料

    • bufToByte

      private byte[] bufToByte(io.netty.buffer.ByteBuf p_129405_)
    • decipher

      protected io.netty.buffer.ByteBuf decipher(io.netty.channel.ChannelHandlerContext p_129410_, io.netty.buffer.ByteBuf p_129411_) throws ShortBufferException
      抛出:
      ShortBufferException
    • encipher

      protected void encipher(io.netty.buffer.ByteBuf p_129407_, io.netty.buffer.ByteBuf p_129408_) throws ShortBufferException
      抛出:
      ShortBufferException