Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.squawk
Class ByteBufferDecoder

    java.lang.Object
      com.sun.squawk.GeneralDecoder
          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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"