Bfind — Find the field in UBF buffer, return raw pointer to value
#include <ubf.h>
char * Bfind (UBFH *p_ub, BFLDID bfldid, BFLDOCC occ, BFLDLEN *p_len);
Link with -lubf -lnstd -lm -lpthread
Function on success returns pointer to data field present in UBF buffer. p_ub is pointer to UBF buffer, bfldid is field id, occ is field occurrence at buffer, which needs to be found. p_len is output parameter for indicating the type length in bytes. Then len is optional. Note that pointer to field is valid only that time while the buffer is not changed. If changes occur, then returned pointer might become invalid (point wrong data area).
On success, Bfind() non NULL value is returned; on error, NULL is returned, with Berror set to indicate the error.