Initializing help system before first use

bindrv_putdata

bindrv_putdata


Purpose
Write a binary data block to the output stream.
Synopsis
int bindrv_putdata(s_bindrvctx bctx, const void *buf, size_t size);
Arguments
bctx 
A BinDrv writer context
buf 
An array of bytes to write
size 
Size of the data buffer in bytes
Return value
0 if successful, 1 in case of an I/O error
Further information
If the size is 0 or the input buffer is NULL an empty block will be recorded.