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

Developer

API Reference

STD_COPYBE()

Brew Release
Brew MP 1.0.2
Description

The std_CopyBE() function has the same semantics as std_CopyLE() except it copies between host byte ordering and big-endian ("network") byte order.
See std_CopyLE() for more details.
Params
pvDest
[]:
Pointer to destination buffer.
nDestSize
[]:
Size of the destination buffer.
pvSrc
[]:
Pointer to buffer containing source data.
nSrcSize
[]:
Size of source data.
pszFields
[]:
Description of the fields that comprise the source data, as defined in std_CopyLE.
Interface
Prototype
  •    void *std_CopyBE(void *pvDest, const void *pvSrc, 
                               int cbDest, int nItems, const char *pszFields);
    
Return

  • The number of bytes actually copied or translated in-place. This will be the smaller of nDestSize and nSrcSize, or zero if one of them are negative.