An buffer of bytes that can be written sequentially. More...
Instance Methods | |
| (instancetype) | - init |
| (void) | - reset |
| Empties this stream and resets it. More... | |
| (int) | - size |
| Gets the number of bytes written to the stream. More... | |
| (NSMutableData *) | - toArray |
| Converts the stream to a byte array. More... | |
| (void) | - write: |
| Writes a value to the stream. More... | |
| (void) | - writeBuffer: |
| Writes a buffer to the stream. More... | |
| (void) | - writeBuffer:offset:length: |
| Writes a buffer to the stream. More... | |
| (void) | - writeToWithStream: |
| Writes the contents of this stream to another stream. More... | |
Class Methods | |
| (FMLiveSwitchByteOutputStream *) | + byteOutputStream |
An buffer of bytes that can be written sequentially.
| + (FMLiveSwitchByteOutputStream*) byteOutputStream |
| - (instancetype) init |
| - (void) reset |
Empties this stream and resets it.
| - (int) size |
Gets the number of bytes written to the stream.
| - (NSMutableData*) toArray |
Converts the stream to a byte array.
| - (void) write: | (uint8_t) | value |
Writes a value to the stream.
| value | The value. |
| - (void) writeBuffer: | (NSMutableData *) | buffer |
Writes a buffer to the stream.
| buffer | The buffer. |
| - (void) writeBuffer: | (NSMutableData *) | buffer | |
| offset: | (int) | offset | |
| length: | (int) | length | |
Writes a buffer to the stream.
| buffer | The buffer. |
| offset | The offset. |
| length | The length. |
| - (void) writeToWithStream: | (FMLiveSwitchByteOutputStream *) | stream |
Writes the contents of this stream to another stream.
| stream | The stream. |