Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
DelegateStreamReadFunction Delegate
SwiPlCs interfaceSbsSW.SwiPlCs.StreamsDelegateStreamReadFunction
See SetStreamFunctionRead(PlStreamType, DelegateStreamReadFunction)
Declaration Syntax
C#Visual BasicVisual C++F#
public delegate long DelegateStreamReadFunction(
	IntPtr handle,
	IntPtr buffer,
	long bufferSize
)
Public Delegate Function DelegateStreamReadFunction ( 
	handle As IntPtr,
	buffer As IntPtr,
	bufferSize As Long
) As Long
public delegate long long DelegateStreamReadFunction(
	IntPtr handle, 
	IntPtr buffer, 
	long long bufferSize
)
type DelegateStreamReadFunction = 
    delegate of 
        handle : IntPtr * 
        buffer : IntPtr * 
        bufferSize : int64 -> int64
Parameters
handle (IntPtr)
A C stream handle. simple ignore it.
buffer (IntPtr)
A pointer to a string buffer
bufferSize (Int64)
The size of the string buffer
Return Value

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)