public class Encoder
extends java.lang.Object
| Constructor and Description |
|---|
Encoder() |
| Modifier and Type | Method and Description |
|---|---|
static int |
bytesToInt(byte[] bytes,
int pos) |
static long |
bytesToLong(byte[] bytes,
int pos) |
static byte[] |
intToBytes(int anInt) |
static byte[] |
longToBytes(long aLong) |
static byte[] |
shortToBytes(short aShort) |
public static byte[] longToBytes(long aLong)
public static byte[] intToBytes(int anInt)
public static byte[] shortToBytes(short aShort)
public static long bytesToLong(byte[] bytes,
int pos)
public static int bytesToInt(byte[] bytes,
int pos)
Copyright © 2006-2021 Bitronix Software. All Rights Reserved.