Package com.fastasyncworldedit.core.util
Class IOUtil
java.lang.Object
com.fastasyncworldedit.core.util.IOUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream in, DataOutput out) static voidcopy(InputStream in, OutputStream out) static intcopy(InputStream in, OutputStream out, int len) static intreadInt(InputStream in) static intstatic <T> Supplier<T> static <T> Supplier<T> supplier(IntFunction<T> funx, int size) static <T> Supplier<T> static <T> Supplier<T> static voidwriteInt(OutputStream out, int v) static voidwriteVarInt(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
-