Instance Method

size

Returns the size in bytes of the file for the representation.

Declaration

- (long long)size;

Return Value

The size in bytes of the file for the representation.

Discussion

You typically use this method to allocate a buffer of the right size for getBytes:fromOffset:length:error:.

See Also

Getting Raw Data

- getBytes:fromOffset:length:error:

Copies a specified range of bytes into a given buffer.

Deprecated