FSBlockDeviceResource.DelayedMetadataWrite Method

Definition

Overloads

DelayedMetadataWrite(Byte[], Int64, UIntPtr, NSError)

Asynchronously writes metadata to a resource.

public bool DelayedMetadataWrite(byte[] buffer, long offset, UIntPtr length, out Foundation.NSError? error);
member this.DelayedMetadataWrite : byte[] * int64 * unativeint * NSError -> bool

Parameters

buffer
Byte[]

An array of bytes with the data to write.

offset
Int64

The zero-based byte offset in buffer where to begin reading the data to be written to the current resource.

length
UIntPtr

unativeint

The maximum number of bytes to write to the current resource.

error
NSError

The error object if the operation fails, null otherwise.

Returns

If the operation succeeded or not.

Applies to

DelayedMetadataWrite(IntPtr, Int64, UIntPtr, NSError)

[Foundation.Export("delayedMetadataWriteFrom:startingAt:length:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool DelayedMetadataWrite(IntPtr buffer, long offset, UIntPtr length, out Foundation.NSError? error);
[<Foundation.Export("delayedMetadataWriteFrom:startingAt:length:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DelayedMetadataWrite : nativeint * int64 * unativeint * NSError -> bool
override this.DelayedMetadataWrite : nativeint * int64 * unativeint * NSError -> bool

Parameters

buffer
IntPtr

nativeint

offset
Int64
length
UIntPtr

unativeint

error
NSError

Returns

Attributes

Applies to