MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / TwoNibbles

Class TwoNibbles

runtime/Packer.h:74–77  ·  view source on GitHub ↗

* Packs two 4-bit nibbles into one byte. This is used to pack the special * codes returned by pack() in the compressed log. */

Source from the content-addressed store, hash-verified

72 * codes returned by pack() in the compressed log.
73 */
74struct TwoNibbles {
75 uint8_t first:4;
76 uint8_t second:4;
77} __attribute__((packed));
78
79/**
80 * Given an unsigned integer and a char array, find the fewest number of

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected