MCPcopy Create free account
hub / github.com/couchbase/fleece / addBit

Method addBit

Fleece/Support/Bitmap.hh:77–77  ·  view source on GitHub ↗

Sets bit `bitNo` to 1. */

Source from the content-addressed store, hash-verified

75
76 /** Sets bit `bitNo` to 1. */
77 void addBit(unsigned bitNo) {_bits |= mask(bitNo);}
78
79 /** Sets bit `bitNo` to 0. */
80 void removeBit(unsigned bitNo) {_bits &= ~mask(bitNo);}

Callers 1

_addChildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected