public class BitUtilLittle extends BitUtil
Modifier and Type | Method and Description |
---|---|
byte[] |
fromBitString(String str) |
void |
fromInt(byte[] bytes,
int value,
int offset) |
void |
fromLong(byte[] bytes,
long value,
int offset) |
void |
fromShort(byte[] bytes,
short value,
int offset) |
String |
toBitString(byte[] bytes)
Higher order bits comes first in the returned string.
|
int |
toInt(byte[] b,
int offset) |
long |
toLong(byte[] b,
int offset) |
long |
toLong(int int0,
int int1) |
short |
toShort(byte[] b,
int offset) |
String |
toString() |
combineIntsToLong, fromBitString2Long, fromDouble, fromDouble, fromDouble, fromFloat, fromFloat, fromFloat, fromInt, fromInt, fromLong, fromLong, fromShort, fromShort, get, getIntHigh, getIntLow, reverse, reverseLeft, toBitString, toBitString, toBitString, toDouble, toDouble, toFloat, toFloat, toInt, toLastBitString, toLong, toShort
public void fromShort(byte[] bytes, short value, int offset)
public final void fromInt(byte[] bytes, int value, int offset)
public final void fromLong(byte[] bytes, long value, int offset)
public byte[] fromBitString(String str)
fromBitString
in class BitUtil
public String toBitString(byte[] bytes)
BitUtil
toBitString
in class BitUtil
Copyright © 2012–2019. All rights reserved.