public class IOUtils
extends java.lang.Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getSizeOfVarInt(int i)
Gets the number of bytes the given integer takes in its serialized form.
|
static int |
getSizeOfVarList(java.util.List<? extends NeoSerializable> serializables)
Gets the number of bytes that the given list will take in its serialized form.
|
public static int getSizeOfVarInt(int i)
i - The integer.public static int getSizeOfVarList(java.util.List<? extends NeoSerializable> serializables)
serializables - The list of serializables.