|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbitronix.tm.utils.Encoder
public class Encoder
Number to byte array and byte array to number encoder.
Constructor Summary | |
---|---|
Encoder()
|
Method Summary | |
---|---|
static long |
bytesToLong(byte[] bytes,
int pos)
|
static byte[] |
intToBytes(long anInt)
|
static byte[] |
longToBytes(long aLong)
|
static byte[] |
shortToBytes(short aShort)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Encoder()
Method Detail |
---|
public static byte[] longToBytes(long aLong)
public static byte[] intToBytes(long anInt)
public static byte[] shortToBytes(short aShort)
public static long bytesToLong(byte[] bytes, int pos)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |