public final class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Closeable |
closeQuetly(Closeable closeable)
Closing quetly any closeable object.
|
static byte[] |
packData(byte[] data)
Pack some binary data.
|
static byte[] |
unpackData(byte[] data)
Unpack binary data packed by the packData method.
|
@Weight(value=VARIABLE) public static byte[] packData(byte[] data)
data - data to be packed@Weight(value=VARIABLE) public static byte[] unpackData(byte[] data)
data - packed data arrayIllegalArgumentException - it will be thrown if the data has wrong format, global error listeners will be also notifiedpackData(byte[])@Weight(value=LIGHT) public static Closeable closeQuetly(Closeable closeable)
closeable - object to be closed quetlyCopyright © 2011–2022 Igor Maznitsa. All rights reserved.