API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBN_GET()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IBN
Description
Copies the contents of the IBN to the provided buffer. Updates the pnSize with the real copies buffer size. On insufficient space, contains the maximum buffer size needed for the operation to succeed. The caller must always provide the pnSize pointer.
Params
pif
[]:
The interface pointer.
pubBuf
[]:
Byte array into which the IBN value is copied.
pnSize
[]:
On input, set to the size of pubBuf. On output, it is set to the length of the copied buffer. On not enough space, it is set to the buffer size needed.
Interface
Prototype
  •    int IBN_Get(const IBN *pif, byte *pubBuf, int *pnSize);
    
Return
  • AEE_SUCCESS: Success. AEE_EFAILED: If target buffer does not have enough space
Side Effect
  • None
Comments
None