A circular buffer. More...
Instance Methods | |
| (int) | - available | 
| Gets the number of bytes available for reading.  More... | |
| (instancetype) | - initWithLength:latency: | 
| Initializes a new instance of the FMLiveSwitchCircularBuffer class.  More... | |
| (instancetype) | - initWithLength:latency:littleEndian: | 
| Initializes a new instance of the FMLiveSwitchCircularBuffer class.  More... | |
| (int) | - latency | 
| Gets the latency.  More... | |
| (int) | - length | 
| Gets the length.  More... | |
| (bool) | - littleEndian | 
| Gets whether the data is little-endian.  More... | |
| (int) | - readOffset | 
| Gets the read offset.  More... | |
| (FMLiveSwitchDataBuffer *) | - readWithLength: | 
| Reads data from the buffer.  More... | |
| (int) | - writeOffset | 
| Gets the read offset.  More... | |
| (void) | - writeWithBuffer: | 
| Writes data to the buffer.  More... | |
Class Methods | |
| (FMLiveSwitchCircularBuffer *) | + circularBufferWithLength:latency: | 
| Initializes a new instance of the FMLiveSwitchCircularBuffer class.  More... | |
| (FMLiveSwitchCircularBuffer *) | + circularBufferWithLength:latency:littleEndian: | 
| Initializes a new instance of the FMLiveSwitchCircularBuffer class.  More... | |
A circular buffer.
| - (int) available | 
Gets the number of bytes available for reading.
| + (FMLiveSwitchCircularBuffer*) circularBufferWithLength: | (int) | length | |
| latency: | (int) | latency | |
Initializes a new instance of the FMLiveSwitchCircularBuffer class.
| length | The length. | 
| latency | The latency. | 
| + (FMLiveSwitchCircularBuffer*) circularBufferWithLength: | (int) | length | |
| latency: | (int) | latency | |
| littleEndian: | (bool) | littleEndian | |
Initializes a new instance of the FMLiveSwitchCircularBuffer class.
| length | The length. | 
| latency | The latency. | 
| littleEndian | Whether the data is little-endian. | 
| - (instancetype) initWithLength: | (int) | length | |
| latency: | (int) | latency | |
Initializes a new instance of the FMLiveSwitchCircularBuffer class.
| length | The length. | 
| latency | The latency. | 
| - (instancetype) initWithLength: | (int) | length | |
| latency: | (int) | latency | |
| littleEndian: | (bool) | littleEndian | |
Initializes a new instance of the FMLiveSwitchCircularBuffer class.
| length | The length. | 
| latency | The latency. | 
| littleEndian | Whether the data is little-endian. | 
| - (int) latency | 
Gets the latency.
| - (int) length | 
Gets the length.
| - (bool) littleEndian | 
Gets whether the data is little-endian.
| - (int) readOffset | 
Gets the read offset.
| - (FMLiveSwitchDataBuffer*) readWithLength: | (int) | length | 
Reads data from the buffer.
| length | The number of bytes to read. | 
| - (int) writeOffset | 
Gets the read offset.
| - (void) writeWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | 
Writes data to the buffer.
| buffer | The data to write. |