PTByteRange

@interface PTByteRange : NSObject

This class represents a Byte Range.

  • Retrieves the start offset of the byte range.

    Declaration

    Objective-C

    - (unsigned long long)GetStartOffset;

    Swift

    func getStartOffset() -> UInt64

    Return Value

    an unsigned integer.

  • Retrieves the end offset of the byte range.

    Declaration

    Objective-C

    - (unsigned long long)GetEndOffset;

    Swift

    func getEndOffset() -> UInt64

    Return Value

    an unsigned integer.

  • Retrieves the size of the byte range.

    Declaration

    Objective-C

    - (unsigned long long)GetSize;

    Swift

    func getSize() -> UInt64

    Return Value

    an unsigned integer.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()