|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.servingxml.util.ByteHelper
public class ByteHelper
| Constructor Summary | |
|---|---|
ByteHelper()
|
|
| Method Summary | |
|---|---|
static byte |
highNibble(byte b)
Extracts the upper 4 bits of a byte. |
static byte |
lowNibble(byte b)
Extracts the lower 4 bits of a byte. |
static byte |
makeByte(byte lo,
byte hi)
Makes a byte from a low nibble and a high nibble. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteHelper()
| Method Detail |
|---|
public static final byte lowNibble(byte b)
b - The byte
public static final byte highNibble(byte b)
b - The byte.
public static final byte makeByte(byte lo,
byte hi)
lo - The lower four bits of the byte.hi - The upper four bits of the byte.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||