ByteRangeConvertible

public protocol ByteRangeConvertible

Undocumented

  • The byte offset of the entity inside the source contents.

    Declaration

    Swift

    var offset: Offset { get }
  • The byte length of the entity inside the source contents.

    Declaration

    Swift

    var length: Int { get }
  • byteRange Default implementation

    The byte range (i.e. offset..<length).

    Default Implementation

    Declaration

    Swift

    var byteRange: NSRange { get }