MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / GetSintFromMessage

Function GetSintFromMessage

source/src/enet_encap/endianconv.c:29–34  ·  view source on GitHub ↗

* @brief Reads EIP_UINT8 from *buffer and converts little endian to host. * @param buffer pointer where data should be reed. * @return EIP_UINT8 data value */

Source from the content-addressed store, hash-verified

27 * @return EIP_UINT8 data value
28 */
29EipUint8 GetSintFromMessage(const EipUint8 **const buffer) {
30 const unsigned char *const buffer_address = (unsigned char *) *buffer;
31 EipUint8 data = buffer_address[0];
32 *buffer += 1;
33 return data;
34}
35
36CipByte GetByteFromMessage(const CipOctet **const buffer_address) {
37 const CipOctet *buffer = *buffer_address;

Callers 6

CipEpathGetLogicalValueFunction · 0.85
ParseConnectionPathFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68