Google is committed to advancing racial equity for Black communities. See how.

encodeBool method

void encodeBool (bool value, int offset)

Implementation

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