Class CipherBase

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

public class CipherBase extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Cipher
     
    private byte[]
     
    private byte[]
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CipherBase(Cipher p_129403_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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_)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cipher

      private final Cipher cipher
    • heapIn

      private byte[] heapIn
    • heapOut

      private byte[] heapOut
  • Constructor Details

    • CipherBase

      protected CipherBase(Cipher p_129403_)
  • Method Details

    • 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
      Throws:
      ShortBufferException
    • encipher

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