public class Raw
extends java.lang.Object
构造器和说明 |
---|
Raw() |
限定符和类型 | 方法和说明 |
---|---|
static byte |
bitArrayToByte(int[] bitArray) |
static byte[] |
convertCharArrayToByteArray(char[] charArray)
Converts a char array to byte array
|
static void |
prepareBuffAESIVBytes(byte[] buff,
int nonce,
int length) |
static int |
readIntLittleEndian(byte[] b,
int off) |
static int |
readLeInt(java.io.DataInput di,
byte[] b) |
static long |
readLongLittleEndian(byte[] array,
int pos) |
static short |
readShortBigEndian(byte[] array,
int pos) |
static int |
readShortLittleEndian(byte[] b,
int off) |
static byte[] |
toByteArray(int in) |
static byte[] |
toByteArray(int in,
int outSize) |
static void |
writeIntLittleEndian(byte[] array,
int pos,
int value) |
static void |
writeLongLittleEndian(byte[] array,
int pos,
long value) |
static void |
writeShortLittleEndian(byte[] array,
int pos,
short value) |
public static long readLongLittleEndian(byte[] array, int pos)
public static int readLeInt(java.io.DataInput di, byte[] b) throws ZipException
ZipException
public static int readShortLittleEndian(byte[] b, int off)
public static final short readShortBigEndian(byte[] array, int pos)
public static int readIntLittleEndian(byte[] b, int off)
public static byte[] toByteArray(int in, int outSize)
public static byte[] toByteArray(int in)
public static final void writeShortLittleEndian(byte[] array, int pos, short value)
public static final void writeIntLittleEndian(byte[] array, int pos, int value)
public static void writeLongLittleEndian(byte[] array, int pos, long value)
public static byte bitArrayToByte(int[] bitArray) throws ZipException
ZipException
public static void prepareBuffAESIVBytes(byte[] buff, int nonce, int length)
public static byte[] convertCharArrayToByteArray(char[] charArray)
charArray
-