|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.squawk.GeneralDecoder
com.sun.squawk.ByteBufferDecoder
public class ByteBufferDecoder
A byte buffer dencoder can be used to decode a byte array of values encoded
with a byte buffer encoder.
| Field Summary | |
|---|---|
protected byte[] |
buf
The byte array of encoded values. |
protected int |
pos
The current decoding position. |
| Constructor Summary | |
|---|---|
ByteBufferDecoder(byte[] buf,
int pos)
Creates a ByteBufferDecoder to decode a byte array of values that was encoded by a ByteArryEncoder. |
|
| Method Summary |
|---|
| Methods inherited from class com.sun.squawk.GeneralDecoder |
|---|
readChar, readUnsignedInt, readUnsignedShort |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected byte[] buf
protected int pos
| Constructor Detail |
|---|
public ByteBufferDecoder(byte[] buf,
int pos)
buf - the byte array of encoded valuespos - the initial decoding position
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||