| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | encode(ByteBuffer
the buffer to encode into. buffer, int the prefix used to encode this long. prefix, long the long to encode into the buffer. value)
|
| public static int | octetsNeeded(int
the prefix used to encode this long. prefix, long the integer to encode. value)Returns: the number of octets it would take to encode the long. |
| NBitIntegerEncoder | back to summary |
|---|---|
| private NBitIntegerEncoder() | |
| encode | back to summary |
|---|---|
public static void encode(ByteBuffer buffer, int prefix, long value)
| |
| octetsNeeded | back to summary |
|---|---|
public static int octetsNeeded(int prefix, long value)
| |