Instance Property

maxBufferLength

The maximum size of a buffer, in bytes.

Required.

Declaration

@property(readonly) NSUInteger maxBufferLength;

See Also

Creating Buffers

- newBufferWithLength:options:

Allocates a new zero-filled buffer of a given length.

Required.

- newBufferWithBytes:length:options:

Allocates a new buffer of a given length and initializes its contents by copying existing data into it.

Required.

- newBufferWithBytesNoCopy:length:options:deallocator:

Creates a buffer by wrapping an existing contiguous memory allocation.

Required.