Click or drag to resize

P4CallBacksBinaryResultsDelegate Delegate

Delegate definition for the binary results callback.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public delegate void BinaryResultsDelegate(
	uint cmdID,
	IntPtr data,
	int count
)

Parameters

cmdID
Type: SystemUInt32
Id if the command making the callback
data
Type: SystemIntPtr
Binary data generated by the command
count
Type: SystemInt32
The size in bytes of the data
Remarks
If this callback is used, the binary output generated by a command will be delivered by one or more call to the supplied delegate. It multiple calls are made, the entire output is obtained by concatenating the data from each call.
See Also