Class Binary

java.lang.Object
org.cloudburstmc.server.utils.Binary

public class Binary extends Object
author: MagicDroidX Nukkit Project
  • Constructor Details

    • Binary

      public Binary()
  • Method Details

    • bytesToHexString

      public static String bytesToHexString(io.netty.buffer.ByteBuf src)
    • bytesToHexString

      public static String bytesToHexString(byte[] src, boolean blank)
    • hexStringToBytes

      public static byte[] hexStringToBytes(String hexString)
    • subBytes

      public static byte[] subBytes(byte[] bytes, int start, int length)
    • subBytes

      public static byte[] subBytes(byte[] bytes, int start)
    • splitBytes

      public static byte[][] splitBytes(byte[] bytes, int chunkSize)
    • appendBytes

      public static byte[] appendBytes(byte[][] bytes)
    • appendBytes

      public static byte[] appendBytes(byte byte1, byte[]... bytes2)
    • appendBytes

      public static byte[] appendBytes(byte[] bytes1, byte[]... bytes2)