Contents

size()

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

Declaration

func size() -> Int64

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