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

## edu.wpi.first.wpilibj.communication
Class FRCControl.CachedNativeBuffer

    java.lang.Object
      edu.wpi.first.wpilibj.communication.FRCControl.CachedNativeBuffer

Enclosing class:
  FRCControl

    public static class FRCControl.CachedNativeBuffer

extends Object

A simple 1-element cache that keeps a pointer to native memory around. Works best if repeatedly asked for buffers of same size. WARNING: It's expected that the users of this cache are synchronized

Constructor Summary
`FRCControl.CachedNativeBuffer()`

Method Summary
`void` | `free()`
`Pointer` | `getBufferSized(int size)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FRCControl.CachedNativeBuffer

    public FRCControl.CachedNativeBuffer()

Method Detail

### getBufferSized

    public Pointer getBufferSized(int size)

### free

    public void free()

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
"