Package xyz.xenondevs.invui.util
Class DataUtils
java.lang.Object
xyz.xenondevs.invui.util.DataUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte @NotNull [] @NotNull []
read2DByteArray
(@NotNull DataInputStream din) static byte @NotNull []
readByteArray
(@NotNull DataInputStream din) static void
write2DByteArray
(@NotNull DataOutputStream dos, byte @NotNull [] @NotNull [] array2d) static void
writeByteArray
(@NotNull DataOutputStream dos, byte @NotNull [] array)
-
Constructor Details
-
DataUtils
public DataUtils()
-
-
Method Details
-
writeByteArray
public static void writeByteArray(@NotNull @NotNull DataOutputStream dos, byte @NotNull [] array) throws IOException - Throws:
IOException
-
readByteArray
public static byte @NotNull [] readByteArray(@NotNull @NotNull DataInputStream din) throws IOException - Throws:
IOException
-
write2DByteArray
public static void write2DByteArray(@NotNull @NotNull DataOutputStream dos, byte @NotNull [] @NotNull [] array2d) throws IOException - Throws:
IOException
-
read2DByteArray
public static byte @NotNull [] @NotNull [] read2DByteArray(@NotNull @NotNull DataInputStream din) throws IOException - Throws:
IOException
-