setUnchecked method
Sets the value
of the bit with the given index
. The behavior is
undefined if index
is outside of bounds.
Implementation
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
void setUnchecked(int index, bool value) => value
? buffer[index >> bitShift] |= bitSetMask[index & bitOffset]
: buffer[index >> bitShift] &= bitClearMask[index & bitOffset];