MCPcopy Create free account
hub / github.com/chen3feng/toft / InsertBytes

Method InsertBytes

base/string/byte_set.h:96–102  ·  view source on GitHub ↗

insert any bytes in str into set

Source from the content-addressed store, hash-verified

94
95 // insert any bytes in str into set
96 void InsertBytes(const char* begin, size_t length)
97 {
98 for (size_t i = 0; i < length; ++i)
99 {
100 Insert(begin[i]);
101 }
102 }
103
104 // remove all bytes which satisfy the pred
105 template <typename Pred>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected