Go to the source code of this file.
Functions | |
int | marshall_BYTE (LWES_BYTE aByte, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a byte into a byte array. | |
int | marshall_U_INT_16 (LWES_U_INT_16 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 16 bit unsigned int into a byte array. | |
int | marshall_INT_16 (LWES_INT_16 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 16 bit int into a byte array. | |
int | marshall_U_INT_32 (LWES_U_INT_32 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 32 bit unsigned int into a byte array. | |
int | marshall_INT_32 (LWES_INT_32 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 32 bit int into a byte array. | |
int | marshall_U_INT_64 (LWES_U_INT_64 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 64 bit unsigned int into a byte array. | |
int | marshall_INT_64 (LWES_INT_64 anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a 64 bit int into a byte array. | |
int | marshall_BOOLEAN (LWES_BOOLEAN aBoolean, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a boolean into a byte array. | |
int | marshall_IP_ADDR (LWES_IP_ADDR ipAddress, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall an ip4v address into a byte array. | |
int | marshall_SHORT_STRING (LWES_SHORT_STRING aString, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a short string into a byte array. | |
int | marshall_LONG_STRING (LWES_LONG_STRING aString, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Marshall a long string into a byte array. | |
int | unmarshall_BYTE (LWES_BYTE *aByte, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a byte from a byte array. | |
int | unmarshall_U_INT_16 (LWES_U_INT_16 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 16 bit unsigned int from a byte array. | |
int | unmarshall_INT_16 (LWES_INT_16 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 16 bit int from a byte array. | |
int | unmarshall_U_INT_32 (LWES_U_INT_32 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 32 bit unsigned int from a byte array. | |
int | unmarshall_INT_32 (LWES_INT_32 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 32 bit int from a byte array. | |
int | unmarshall_U_INT_64 (LWES_U_INT_64 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 64 bit unsigned int from a byte array. | |
int | unmarshall_INT_64 (LWES_INT_64 *anInt, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a 64 bit int from a byte array. | |
int | unmarshall_BOOLEAN (LWES_BOOLEAN *aBoolean, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a boolean from a byte array. | |
int | unmarshall_IP_ADDR (LWES_IP_ADDR *ipAddress, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall an ipv4 address from a byte array. | |
int | unmarshall_SHORT_STRING (LWES_SHORT_STRING aString, size_t max_string_length, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a short string from a byte array. | |
int | unmarshall_LONG_STRING (LWES_LONG_STRING aString, size_t max_string_length, LWES_BYTE_P bytes, size_t length, size_t *offset) |
Unmarshall a long string from a byte array. |
|
Marshall a byte into a byte array. Attempt to marshall aByte into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 16 bit unsigned int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 16 bit int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 32 bit unsigned int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 32 bit int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 64 bit unsigned int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a 64 bit int into a byte array. Attempt to marshall anInt into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a boolean into a byte array. Attempt to marshall aBoolean into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall an ip4v address into a byte array. Attempt to marshall ipAddress into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a short string into a byte array. Attempt to marshall aString into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Marshall a long string into a byte array. Attempt to marshall aString into the given byte array at the given offset if there is enough total space. The length should be the total length of the array. The offset will be modified by the number of bytes set, and that value will be returned. Thus a value of 0 is an error, meaning not enough space to write this.
|
|
Unmarshall a byte from a byte array. Attempt to unmarshall aByte from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 16 bit unsigned int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 16 bit int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 32 bit unsigned int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 32 bit int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 64 bit unsigned int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a 64 bit int from a byte array. Attempt to unmarshall anInt from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a boolean from a byte array. Attempt to unmarshall aBoolean from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall an ipv4 address from a byte array. Attempt to unmarshall ipAddress from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a short string from a byte array. Attempt to unmarshall aString from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The max_string_length is the maximum length of the passed in string. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|
|
Unmarshall a long string from a byte array. Attempt to unmarshall aString from the given byte array at the given offset, without overflowing the bound. If the bound would be overflown, an error is returned. The max_string_length is the maximum length of the passed in string. The length should be the total length of the array. The offset will be modified by the number of bytes consumed, and that value will be returned. Thus a value of 0 is an error, meaning not enough bytes to fill out the given type.
|