Package net.minecraft.network
Class CipherBase
java.lang.Object
net.minecraft.network.CipherBase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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_)
-
Field Details
-
cipher
-
heapIn
private byte[] heapIn -
heapOut
private byte[] heapOut
-
-
Constructor Details
-
CipherBase
-
-
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
-