FMIceLinkByteOutputStream Class Reference

Inherits from NSObject
Declared in FMIceLinkByteOutputStream.h
FMIceLinkByteOutputStream.m

Overview

An buffer of bytes that can be written sequentially.

– reset

Empties this stream and resets it.
- (void)reset

Discussion

Empties this stream and resets it.

Declared In

FMIceLinkByteOutputStream.h

– size

Gets the number of bytes written to the stream.
- (int)size

Discussion

Gets the number of bytes written to the stream.

Declared In

FMIceLinkByteOutputStream.h

– toArray

Converts the stream to a byte array.
- (NSMutableData *)toArray

Discussion

Converts the stream to a byte array.

Declared In

FMIceLinkByteOutputStream.h

– write:

Writes a value to the stream.
- (void)write:(uint8_t)value

Parameters

value

The value.

Discussion

Writes a value to the stream.

Declared In

FMIceLinkByteOutputStream.h

– writeBuffer:

Writes a buffer to the stream.
- (void)writeBuffer:(NSMutableData *)buffer

Parameters

buffer

The buffer.

Discussion

Writes a buffer to the stream.

Declared In

FMIceLinkByteOutputStream.h

– writeBuffer:offset:length:

Writes a buffer to the stream.
- (void)writeBuffer:(NSMutableData *)buffer offset:(int)offset length:(int)length

Parameters

buffer

The buffer.

offset

The offset.

length

The length.

Discussion

Writes a buffer to the stream.

Declared In

FMIceLinkByteOutputStream.h

– writeToWithStream:

Writes the contents of this stream to another stream.
- (void)writeToWithStream:(FMIceLinkByteOutputStream *)stream

Parameters

stream

The stream.

Discussion

Writes the contents of this stream to another stream.

Declared In

FMIceLinkByteOutputStream.h