|
" 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
public abstract class GeneralDecoder
A byte buffer decoder can be used to decode a byte array of values encoded
with a byte buffer encoder.
| Constructor Summary | |
|---|---|
GeneralDecoder()
|
|
| Method Summary | |
|---|---|
char |
readChar()
Decodes a UTF8 encoded character from the current position. |
int |
readUnsignedInt()
Decodes an unsigned integer from the current decoding position. |
int |
readUnsignedShort()
Decodes an encoded short from the current position. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneralDecoder()
| Method Detail |
|---|
public final int readUnsignedInt()
ByteBufferEncoder.addUnsignedInt(int)public final int readUnsignedShort()
ByteBufferEncoder.addUnsignedShort(int)public final char readChar()
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||