IMathLinkGetData Method

Gets a specified number of bytes in the textual form of the expression currently being read.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
byte[] GetData(
	int numRequested
)

Parameters

numRequested  Int32
The maximum number of bytes to read.

Return Value

Byte

Remarks

You can use BytesToGet to determine if more GetData calls are needed to completely read the element.

The returned array will have a length of at most numRequested.

Exceptions

MathLinkExceptionIf the waiting data cannot be read in this format, or on any other MathLink error.

See Also