Package com.fastasyncworldedit.core.util
Class IOUtil
java.lang.Object
com.fastasyncworldedit.core.util.IOUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(InputStream in, DataOutput out) static void
copy
(InputStream in, OutputStream out) static int
copy
(InputStream in, OutputStream out, int len) static int
readInt
(InputStream in) static int
static <T> Supplier
<T> static <T> Supplier
<T> supplier
(IntFunction<T> funx, int size) static <T> Supplier
<T> static <T> Supplier
<T> static void
writeInt
(OutputStream out, int v) static void
writeVarInt
(OutputStream out, int value)
-
Constructor Details
-
IOUtil
public IOUtil()
-
-
Method Details
-
readInt
- Throws:
IOException
-
writeInt
- Throws:
IOException
-
readVarInt
- Throws:
IOException
-
writeVarInt
- Throws:
IOException
-
copy
- Throws:
IOException
-
copy
- Throws:
IOException
-
copy
- Throws:
IOException
-
supplier
-
supplier
-
supplier
-
supplier
-