description
TypeScriptgetDescription($self: FileDescriptor_SeekOrigin): stringSwift declarationvar description: String { get }A textual representation of the seek origin.
struct · iOS 14.0+ · SDK 27.1
@frozen struct SeekOriginOptions for specifying what a file descriptor's offset is relative to.
getDescription($self: FileDescriptor_SeekOrigin): stringSwift declarationvar description: String { get }A textual representation of the seek origin.
getDebugDescription($self: FileDescriptor_SeekOrigin): stringSwift declarationvar debugDescription: String { get }A textual representation of the seek origin, suitable for debugging.
get end(): FileDescriptor_SeekOriginSwift declarationstatic var end: FileDescriptor.SeekOrigin { get }Indicates that the offset should be set to the size of the file plus the specified number of bytes. The corresponding C constant is `SEEK_END`.
get start(): FileDescriptor_SeekOriginSwift declarationstatic var start: FileDescriptor.SeekOrigin { get }Indicates that the offset should be set to the specified value. The corresponding C constant is `SEEK_SET`.
get current(): FileDescriptor_SeekOriginSwift declarationstatic var current: FileDescriptor.SeekOrigin { get }Indicates that the offset should be set to the specified number of bytes after the current location. The corresponding C constant is `SEEK_CUR`.
get nextData(): FileDescriptor_SeekOriginSwift declarationstatic var nextData: FileDescriptor.SeekOrigin { get }Indicates that the offset should be set to the start of the next file region that isn't a hole and is greater than or equal to the supplied offset. The corresponding C constant is `SEEK_DATA`.
get nextHole(): FileDescriptor_SeekOriginSwift declarationstatic var nextHole: FileDescriptor.SeekOrigin { get }Indicates that the offset should be set to the next hole after the specified number of bytes. For information about what is considered a hole, see the `lseek(2)` man page. The corresponding C constant is `SEEK_HOLE`.
init(rawValue: number): FileDescriptor_SeekOriginSwift declarationinit(rawValue: CInt)Create a strongly-typed seek origin from a raw C value.
getRawValue($self: FileDescriptor_SeekOrigin): numberSwift declarationvar rawValue: CIntThe raw C value.
setRawValue($self: FileDescriptor_SeekOrigin, value: number): voidSwift declarationvar rawValue: CIntThe raw C value.
No declarations were skipped in this snapshot.