Package org.cloudburstmc.server.utils
Class Binary
java.lang.Object
org.cloudburstmc.server.utils.Binary
author: MagicDroidX
Nukkit Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]appendBytes(byte[][] bytes)static byte[]appendBytes(byte[] bytes1, byte[]... bytes2)static byte[]appendBytes(byte byte1, byte[]... bytes2)static StringbytesToHexString(byte[] src, boolean blank)static StringbytesToHexString(io.netty.buffer.ByteBuf src)static byte[]hexStringToBytes(String hexString)static byte[][]splitBytes(byte[] bytes, int chunkSize)static byte[]subBytes(byte[] bytes, int start)static byte[]subBytes(byte[] bytes, int start, int length)
-
Constructor Details
-
Binary
public Binary()
-
-
Method Details
-
bytesToHexString
-
bytesToHexString
-
hexStringToBytes
-
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)
-