Contents

availableLength(at:)

Gets the number of available bytes from the offset within the byte source.

Declaration

func availableLength(at offset: Int64) -> Int64

Parameters

  • offset:

    The offset in bytes from the beginning of the byte source.

Return Value

An integer that specifies the number of available bytes.

See Also

Performing operations on a byte source