NSFileHandle class
- Inheritance
- Implemented types
Properties
- attributeKeys → NSArray
-
no setterinherited
- autoContentAccessingProxy → NSObject
-
no setterinherited
- availableData → NSData
-
no setter
- classCode → int
-
no setterinherited
- classDescription → NSClassDescription
-
no setterinherited
- classForArchiver → NSObject?
-
no setterinherited
- classForCoder → NSObject
-
no setterinherited
- classForKeyedArchiver → NSObject?
-
no setterinherited
- classForPortCoder → NSObject
-
no setterinherited
- className → NSString?
-
no setterinherited
- fileDescriptor → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectSpecifier → NSScriptObjectSpecifier?
-
no setterinherited
-
observationInfo
↔ Pointer<
Void> -
getter/setter pairinherited
- offsetInFile → int
-
no setter
-
pointer
→ Pointer<
ObjCObject> -
Return a pointer to this object.
no setterinherited
- readabilityHandler ↔ ObjCBlock_ffiVoid_NSFileHandle?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptingProperties ↔ NSDictionary?
-
getter/setter pairinherited
- toManyRelationshipKeys → NSArray
-
no setterinherited
- toOneRelationshipKeys → NSArray
-
no setterinherited
- writeabilityHandler ↔ ObjCBlock_ffiVoid_NSFileHandle?
-
getter/setter pair
Methods
-
acceptConnectionInBackgroundAndNotify(
) → void -
acceptConnectionInBackgroundAndNotifyForModes_(
NSArray? modes) → void -
addObserver_forKeyPath_options_context_(
NSObject observer, NSString keyPath, int options, Pointer< Void> context) → void -
inherited
-
allowsWeakReference(
) → bool -
inherited
-
attemptRecoveryFromError_optionIndex_(
NSError error, int recoveryOptionIndex) → bool -
inherited
-
attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_(
NSError error, int recoveryOptionIndex, NSObject? delegate, Pointer< ObjCSel> didRecoverSelector, Pointer<Void> contextInfo) → void -
inherited
-
awakeAfterUsingCoder_(
NSCoder coder) → NSObject? -
inherited
-
closeAndReturnError_(
Pointer< Pointer< error) → boolObjCObject> > -
closeFile(
) → void -
coerceValue_forKey_(
NSObject? value, NSString key) → NSObject? -
inherited
-
copy(
) → NSObject -
inherited
-
copyScriptingValue_forKey_withProperties_(
NSObject value, NSString key, NSDictionary properties) → NSObject? -
inherited
-
dealloc(
) → void -
inherited
-
dictionaryWithValuesForKeys_(
NSArray keys) → NSDictionary -
inherited
-
didChange_valuesAtIndexes_forKey_(
int changeKind, NSIndexSet indexes, NSString key) → void -
inherited
-
didChangeValueForKey_(
NSString key) → void -
inherited
-
didChangeValueForKey_withSetMutation_usingObjects_(
NSString key, int mutationKind, NSSet objects) → void -
inherited
-
doesContain_(
NSObject object) → bool -
inherited
-
doesNotRecognizeSelector_(
Pointer< ObjCSel> aSelector) → void -
inherited
-
fileManager_shouldProceedAfterError_(
NSFileManager fm, NSDictionary errorInfo) → bool -
inherited
-
fileManager_willProcessPath_(
NSFileManager fm, NSString path) → void -
inherited
-
finalize(
) → void -
inherited
-
forwardingTargetForSelector_(
Pointer< ObjCSel> aSelector) → NSObject -
inherited
-
forwardInvocation_(
NSInvocation anInvocation) → void -
inherited
-
getOffset_error_(
Pointer< UnsignedLongLong> offsetInFile, Pointer<Pointer< error) → boolObjCObject> > -
handleQueryWithUnboundKey_(
NSString key) → NSObject? -
inherited
-
handleTakeValue_forUnboundKey_(
NSObject? value, NSString key) → void -
inherited
-
indicesOfObjectsByEvaluatingObjectSpecifier_(
NSScriptObjectSpecifier specifier) → NSArray? -
inherited
-
init(
) → NSFileHandle -
override
-
initWithCoder_(
NSCoder coder) → NSFileHandle? -
initWithFileDescriptor_(
int fd) → NSFileHandle -
initWithFileDescriptor_closeOnDealloc_(
int fd, bool closeopt) → NSFileHandle -
insertValue_atIndex_inPropertyWithKey_(
NSObject value, int index, NSString key) → void -
inherited
-
insertValue_inPropertyWithKey_(
NSObject value, NSString key) → void -
inherited
-
inverseForRelationshipKey_(
NSString relationshipKey) → NSString? -
inherited
-
isCaseInsensitiveLike_(
NSString object) → bool -
inherited
-
isEqualTo_(
NSObject? object) → bool -
inherited
-
isGreaterThan_(
NSObject? object) → bool -
inherited
-
isGreaterThanOrEqualTo_(
NSObject? object) → bool -
inherited
-
isLessThan_(
NSObject? object) → bool -
inherited
-
isLessThanOrEqualTo_(
NSObject? object) → bool -
inherited
-
isLike_(
NSString object) → bool -
inherited
-
isNotEqualTo_(
NSObject? object) → bool -
inherited
-
methodForSelector_(
Pointer< ObjCSel> aSelector) → Pointer<NativeFunction< Void Function()> > -
inherited
-
methodSignatureForSelector_(
Pointer< ObjCSel> aSelector) → NSMethodSignature -
inherited
-
mutableArrayValueForKey_(
NSString key) → NSMutableArray -
inherited
-
mutableArrayValueForKeyPath_(
NSString keyPath) → NSMutableArray -
inherited
-
mutableCopy(
) → NSObject -
inherited
-
mutableOrderedSetValueForKey_(
NSString key) → NSMutableOrderedSet -
inherited
-
mutableOrderedSetValueForKeyPath_(
NSString keyPath) → NSMutableOrderedSet -
inherited
-
mutableSetValueForKey_(
NSString key) → NSMutableSet -
inherited
-
mutableSetValueForKeyPath_(
NSString keyPath) → NSMutableSet -
inherited
-
newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_(
NSObject objectClass, NSString key, NSObject? contentsValue, NSDictionary properties) → NSObject? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observeValueForKeyPath_ofObject_change_context_(
NSString? keyPath, NSObject? object, NSDictionary? change, Pointer< Void> context) → void -
inherited
-
performSelector_onThread_withObject_waitUntilDone_(
Pointer< ObjCSel> aSelector, NSThread thr, NSObject? arg, bool wait) → void -
inherited
-
performSelector_onThread_withObject_waitUntilDone_modes_(
Pointer< ObjCSel> aSelector, NSThread thr, NSObject? arg, bool wait, NSArray? array) → void -
inherited
-
performSelector_withObject_afterDelay_(
Pointer< ObjCSel> aSelector, NSObject? anArgument, double delay) → void -
inherited
-
performSelector_withObject_afterDelay_inModes_(
Pointer< ObjCSel> aSelector, NSObject? anArgument, double delay, NSArray modes) → void -
inherited
-
performSelectorInBackground_withObject_(
Pointer< ObjCSel> aSelector, NSObject? arg) → void -
inherited
-
performSelectorOnMainThread_withObject_waitUntilDone_(
Pointer< ObjCSel> aSelector, NSObject? arg, bool wait) → void -
inherited
-
performSelectorOnMainThread_withObject_waitUntilDone_modes_(
Pointer< ObjCSel> aSelector, NSObject? arg, bool wait, NSArray? array) → void -
inherited
-
readDataOfLength_(
int length) → NSData -
readDataToEndOfFile(
) → NSData -
readDataToEndOfFileAndReturnError_(
Pointer< Pointer< error) → NSData?ObjCObject> > -
readDataUpToLength_error_(
int length, Pointer< Pointer< error) → NSData?ObjCObject> > -
readInBackgroundAndNotify(
) → void -
readInBackgroundAndNotifyForModes_(
NSArray? modes) → void -
readToEndOfFileInBackgroundAndNotify(
) → void -
readToEndOfFileInBackgroundAndNotifyForModes_(
NSArray? modes) → void -
release(
) → void -
Releases the reference to the underlying ObjC object held by this wrapper.
Throws a StateError if this wrapper doesn't currently hold a reference.
inherited
-
removeObserver_forKeyPath_(
NSObject observer, NSString keyPath) → void -
inherited
-
removeObserver_forKeyPath_context_(
NSObject observer, NSString keyPath, Pointer< Void> context) → void -
inherited
-
removeValueAtIndex_fromPropertyWithKey_(
int index, NSString key) → void -
inherited
-
replacementObjectForArchiver_(
NSArchiver archiver) → NSObject? -
inherited
-
replacementObjectForCoder_(
NSCoder coder) → NSObject? -
inherited
-
replacementObjectForKeyedArchiver_(
NSKeyedArchiver archiver) → NSObject? -
inherited
-
replacementObjectForPortCoder_(
NSPortCoder coder) → NSObject? -
inherited
-
replaceValueAtIndex_inPropertyWithKey_withValue_(
int index, NSString key, NSObject value) → void -
inherited
-
retainWeakReference(
) → bool -
inherited
-
scriptingBeginsWith_(
NSObject object) → bool -
inherited
-
scriptingContains_(
NSObject object) → bool -
inherited
-
scriptingEndsWith_(
NSObject object) → bool -
inherited
-
scriptingIsEqualTo_(
NSObject object) → bool -
inherited
-
scriptingIsGreaterThan_(
NSObject object) → bool -
inherited
-
scriptingIsGreaterThanOrEqualTo_(
NSObject object) → bool -
inherited
-
scriptingIsLessThan_(
NSObject object) → bool -
inherited
-
scriptingIsLessThanOrEqualTo_(
NSObject object) → bool -
inherited
-
scriptingValueForSpecifier_(
NSScriptObjectSpecifier objectSpecifier) → NSObject? -
inherited
-
seekToEndOfFile(
) → int -
seekToEndReturningOffset_error_(
Pointer< UnsignedLongLong> offsetInFile, Pointer<Pointer< error) → boolObjCObject> > -
seekToFileOffset_(
int offset) → void -
seekToOffset_error_(
int offset, Pointer< Pointer< error) → boolObjCObject> > -
setNilValueForKey_(
NSString key) → void -
inherited
-
setValue_forKey_(
NSObject? value, NSString key) → void -
inherited
-
setValue_forKeyPath_(
NSObject? value, NSString keyPath) → void -
inherited
-
setValue_forUndefinedKey_(
NSObject? value, NSString key) → void -
inherited
-
setValuesForKeysWithDictionary_(
NSDictionary keyedValues) → void -
inherited
-
storedValueForKey_(
NSString key) → NSObject? -
inherited
-
synchronizeAndReturnError_(
Pointer< Pointer< error) → boolObjCObject> > -
synchronizeFile(
) → void -
takeStoredValue_forKey_(
NSObject? value, NSString key) → void -
inherited
-
takeValue_forKey_(
NSObject? value, NSString key) → void -
inherited
-
takeValue_forKeyPath_(
NSObject? value, NSString keyPath) → void -
inherited
-
takeValuesFromDictionary_(
NSDictionary properties) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
truncateAtOffset_error_(
int offset, Pointer< Pointer< error) → boolObjCObject> > -
truncateFileAtOffset_(
int offset) → void -
unableToSetNilForKey_(
NSString key) → void -
inherited
-
URL_resourceDataDidBecomeAvailable_(
NSURL sender, NSData newBytes) → void -
inherited
-
URL_resourceDidFailLoadingWithReason_(
NSURL sender, NSString reason) → void -
inherited
-
URLResourceDidCancelLoading_(
NSURL sender) → void -
inherited
-
URLResourceDidFinishLoading_(
NSURL sender) → void -
inherited
-
validateValue_forKey_error_(
Pointer< Pointer< ioValue, NSString inKey, Pointer<ObjCObject> >Pointer< outError) → boolObjCObject> > -
inherited
-
validateValue_forKeyPath_error_(
Pointer< Pointer< ioValue, NSString inKeyPath, Pointer<ObjCObject> >Pointer< outError) → boolObjCObject> > -
inherited
-
valueAtIndex_inPropertyWithKey_(
int index, NSString key) → NSObject? -
inherited
-
valueForKey_(
NSString key) → NSObject? -
inherited
-
valueForKeyPath_(
NSString keyPath) → NSObject? -
inherited
-
valueForUndefinedKey_(
NSString key) → NSObject? -
inherited
-
valuesForKeys_(
NSArray keys) → NSDictionary -
inherited
-
valueWithName_inPropertyWithKey_(
NSString name, NSString key) → NSObject? -
inherited
-
valueWithUniqueID_inPropertyWithKey_(
NSObject uniqueID, NSString key) → NSObject? -
inherited
-
waitForDataInBackgroundAndNotify(
) → void -
waitForDataInBackgroundAndNotifyForModes_(
NSArray? modes) → void -
willChange_valuesAtIndexes_forKey_(
int changeKind, NSIndexSet indexes, NSString key) → void -
inherited
-
willChangeValueForKey_(
NSString key) → void -
inherited
-
willChangeValueForKey_withSetMutation_usingObjects_(
NSString key, int mutationKind, NSSet objects) → void -
inherited
-
writeData_(
NSData data) → void -
writeData_error_(
NSData data, Pointer< Pointer< error) → boolObjCObject> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
alloc(
ThermionDartTexture1 _lib) → NSFileHandle -
override
-
allocWithZone_(
ThermionDartTexture1 _lib, Pointer< _NSZone> zone) → NSFileHandle -
override
-
automaticallyNotifiesObserversForKey_(
ThermionDartTexture1 _lib, NSString key) → bool -
override
-
cancelPreviousPerformRequestsWithTarget_(
ThermionDartTexture1 _lib, NSObject aTarget) → void -
override
-
cancelPreviousPerformRequestsWithTarget_selector_object_(
ThermionDartTexture1 _lib, NSObject aTarget, Pointer< ObjCSel> aSelector, NSObject? anArgument) → void -
override
-
castFrom<
T extends _ObjCWrapper> (T other) → NSFileHandle -
Returns a NSFileHandle that points to the same underlying object as
other
.override -
castFromPointer(
ThermionDartTexture1 lib, Pointer< ObjCObject> other, {bool retain = false, bool release = false}) → NSFileHandle -
Returns a NSFileHandle that wraps the given raw object pointer.
override
-
classFallbacksForKeyedArchiver(
ThermionDartTexture1 _lib) → NSArray -
override
-
classForKeyedUnarchiver(
ThermionDartTexture1 _lib) → NSObject -
override
-
fileHandleForReadingAtPath_(
ThermionDartTexture1 _lib, NSString path) → NSFileHandle? -
fileHandleForReadingFromURL_error_(
ThermionDartTexture1 _lib, NSURL url, Pointer< Pointer< error) → NSFileHandle?ObjCObject> > -
fileHandleForUpdatingAtPath_(
ThermionDartTexture1 _lib, NSString path) → NSFileHandle? -
fileHandleForUpdatingURL_error_(
ThermionDartTexture1 _lib, NSURL url, Pointer< Pointer< error) → NSFileHandle?ObjCObject> > -
fileHandleForWritingAtPath_(
ThermionDartTexture1 _lib, NSString path) → NSFileHandle? -
fileHandleForWritingToURL_error_(
ThermionDartTexture1 _lib, NSURL url, Pointer< Pointer< error) → NSFileHandle?ObjCObject> > -
getAccessInstanceVariablesDirectly(
ThermionDartTexture1 _lib) → bool -
override
-
getFileHandleWithNullDevice(
ThermionDartTexture1 _lib) → NSFileHandle -
getFileHandleWithStandardError(
ThermionDartTexture1 _lib) → NSFileHandle -
getFileHandleWithStandardInput(
ThermionDartTexture1 _lib) → NSFileHandle -
getFileHandleWithStandardOutput(
ThermionDartTexture1 _lib) → NSFileHandle -
isInstance(
_ObjCWrapper obj) → bool -
Returns whether
obj
is an instance of NSFileHandle.override -
keyPathsForValuesAffectingValueForKey_(
ThermionDartTexture1 _lib, NSString key) → NSSet -
override
-
new1(
ThermionDartTexture1 _lib) → NSFileHandle -
override
-
setKeys_triggerChangeNotificationsForDependentKey_(
ThermionDartTexture1 _lib, NSArray keys, NSString dependentKey) → void -
override
-
useStoredAccessor(
ThermionDartTexture1 _lib) → bool -
override