Class Unpooled
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.netty.Unpooled
-
public class Unpooled extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static ByteBuf
EMPTY_BUFFER
-
Constructor Summary
Constructors Constructor Description Unpooled()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteBuf
buffer()
static ByteBuf
buffer(byte[] data, int maxLength)
static ByteBuf
buffer(int length)
static ByteBuf
buffer(int length, int maxLength)
static ByteBuf
buffer(java.nio.ByteBuffer data, int maxLength)
-
-
-
Field Detail
-
EMPTY_BUFFER
public static final ByteBuf EMPTY_BUFFER
-
-
Method Detail
-
buffer
public static ByteBuf buffer()
-
buffer
public static ByteBuf buffer(int length)
-
buffer
public static ByteBuf buffer(int length, int maxLength)
-
buffer
public static ByteBuf buffer(java.nio.ByteBuffer data, int maxLength)
-
buffer
public static ByteBuf buffer(byte[] data, int maxLength)
-
-