Class 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)
    • 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)  
      • Methods inherited from class java.lang.Object

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

      • EMPTY_BUFFER

        public static final ByteBuf EMPTY_BUFFER
    • Constructor Detail

      • Unpooled

        public Unpooled()
    • 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)