"

2013 FRC Java API

"

com.sun.squawk
Class ByteBufferDecoder

java.lang.Object
  extended by com.sun.squawk.GeneralDecoder
      extended by com.sun.squawk.ByteBufferDecoder

public class ByteBufferDecoder
extends GeneralDecoder

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

buf

protected byte[] buf
The byte array of encoded values.


pos

protected int pos
The current decoding position.

Constructor Detail

ByteBufferDecoder

public ByteBufferDecoder(byte[] buf,
                         int pos)
Creates a ByteBufferDecoder to decode a byte array of values that was encoded by a ByteArryEncoder.

Parameters:
buf - the byte array of encoded values
pos - the initial decoding position

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"