public class IOUtils
extends java.lang.Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getVarSize(byte[] bytes)
Gets the byte size of the given byte array when Neo-serialized.
|
static int |
getVarSize(java.util.List<? extends NeoSerializable> serializables)
Gets the byte size of the given list when Neo-serialized.
|
static int |
getVarSize(long i)
Gets the byte size of the given number when Neo-serialized.
|
public static int getVarSize(long i)
i - The number.public static int getVarSize(java.util.List<? extends NeoSerializable> serializables)
serializables - The list of serializables.public static int getVarSize(byte[] bytes)
bytes - The bytes to serialize.