Package net.minecraft.network
Class CipherBase
java.lang.Object
net.minecraft.network.CipherBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cipher
-
heapIn
private byte[] heapIn -
heapOut
private byte[] heapOut
-
-
Constructor Details
-
CipherBase
-
-
Method Details
-
bufToByte
private byte[] bufToByte(io.netty.buffer.ByteBuf buffer) -
decipher
protected io.netty.buffer.ByteBuf decipher(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buffer) throws ShortBufferException - Throws:
ShortBufferException
-
encipher
protected void encipher(io.netty.buffer.ByteBuf input, io.netty.buffer.ByteBuf out) throws ShortBufferException - Throws:
ShortBufferException
-