MonobjcMonobjc Documented Class Library
ReadDataOfLength Method (length)
NamespacesMonobjc.FoundationNSFileHandleReadDataOfLength(NSUInteger)

Reads data up to a specified number of bytes from the receiver.

Original signature is '- (NSData *)readDataOfLength:(NSUInteger)length'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSData ReadDataOfLength(
	NSUInteger length
)
Public Overridable Function ReadDataOfLength ( _
	length As NSUInteger _
) As NSData
public:
virtual NSData^ ReadDataOfLength(
	NSUInteger length
)
Parameters
length (NSUInteger)
The number of bytes to read from the receiver.
Return Value
The data available through the receiver up to a maximum of length bytes.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)