void encodeBool (bool value, int offset)
void encodeBool(bool value, int offset) { data.setInt8(offset, value ? 1 : 0); }