Namespaces

Functions

  • uint16_t Swap16 (uint16_t v)

    This unconditionally performs a byte order swap by value of the

    specified 16-bit value.

    Parameters

    v [in] The 16-bit value to be byte order swapped.

    Returns

    The input value, byte order swapped.

    Defined at line 71 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • uint32_t Swap32 (uint32_t v)

    This unconditionally performs a byte order swap by value of the

    specified 32-bit value.

    Parameters

    v [in] The 32-bit value to be byte order swapped.

    Returns

    The input value, byte order swapped.

    Defined at line 81 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • uint64_t Swap64 (uint64_t v)

    This unconditionally performs a byte order swap by value of the

    specified 64-bit value.

    Parameters

    v [in] The 64-bit value to be byte order swapped.

    Returns

    The input value, byte order swapped.

    Defined at line 91 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • uint8_t Get8 (const uint8_t * p)

    Perform a, potentially unaligned, memory read of the 8-bit value

    from the specified pointer address.

    Parameters

    p [in] A pointer address, potentially unaligned, to read the 8-bit value from.

    Returns

    The 8-bit value at the specified pointer address.

    Defined at line 102 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • void Put8 (uint8_t * p, uint8_t v)

    Perform a, potentially unaligned, memory write of the target system

    byte ordered 8-bit value to the specified pointer address.

    Parameters

    p [in] A pointer address, potentially unaligned, to write the 8-bit value to.
    v [in] The 8-bit value to write.

    Defined at line 114 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • uint8_t Read8 (uint8_t *& p)

    Perform a, potentially unaligned, memory read of the 16-bit value

    from the specified pointer address and increment the pointer by

    8-bits (1 byte).

    Parameters

    p [in] A reference to a pointer address, potentially unaligned, to read the 8-bit value from and to then increment by 8-bits (1 byte).

    Returns

    The 8-bit value at the specified pointer address.

    Defined at line 127 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • uint8_t Read8 (const uint8_t *& p)

    Perform a, potentially unaligned, memory read of the 16-bit value

    from the specified pointer address and increment the pointer by

    8-bits (1 byte).

    Parameters

    p [in] A reference to a constant pointer address, potentially unaligned, to read the 8-bit value from and to then increment by 8-bits (1 byte).

    Returns

    The 8-bit value at the specified pointer address.

    Defined at line 140 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h

  • void Write8 (uint8_t *& puint8_t v)

    Perform a, potentially unaligned, memory write of the 8-bit value

    to the specified pointer address and increment the pointer by

    8-bits (1 byte).

    Parameters

    p [in] A reference to a pointer address, potentially unaligned, to read the 8-bit value from and to then increment by 8-bits (1 byte).
    v [in] The 8-bit value to write.

    Defined at line 154 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveEncoding.h