[This is preliminary documentation and is subject to change.]
Delegate definition for the binary results callback.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)
Syntax
C# |
---|
public delegate void BinaryResultsDelegate( IntPtr data, int count ) |
Visual Basic |
---|
Public Delegate Sub BinaryResultsDelegate ( _ data As IntPtr, _ count As Integer _ ) |
Visual C++ |
---|
public delegate void BinaryResultsDelegate( IntPtr data, int count ) |
Parameters
- data
- Type: System..::..IntPtr
Binary data generated by the command
- count
- Type: System..::..Int32
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.