| |
|
| java.lang.Object com.sun.satsa.aclapplet.Parser
Parser | public class Parser (Code) | | Utility class for byte buffer parsing.
|
Field Summary | |
static byte[] | data Data buffer. | static short | offset Current offset. |
Method Summary | |
static byte | getByte() Returns the next byte from the buffer. | static short | getShort() Returns the next short value from the buffer. | static void | init(byte[] buff) Initialises the parser. | static void | skip(short len) Changes the current offset to skip sequence of bytes. |
data | static byte[] data(Code) | | Data buffer.
|
offset | static short offset(Code) | | Current offset.
|
getByte | static byte getByte()(Code) | | Returns the next byte from the buffer.
byte value |
getShort | static short getShort()(Code) | | Returns the next short value from the buffer.
short value |
init | static void init(byte[] buff)(Code) | | Initialises the parser.
Parameters: buff - data buffer |
skip | static void skip(short len)(Code) | | Changes the current offset to skip sequence of bytes.
Parameters: len - the number of bytes to skip |
|
|
|