MCPcopy Create free account
hub / github.com/bytedance/bolt / appendBitwise

Method appendBitwise

bolt/common/strings/ByteStream.h:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 */
123 template <class T>
124 size_t appendBitwise(const T* obj, size_t count) {
125 const size_t sz = count * sizeof(T);
126 return append(folly::StringPiece(reinterpret_cast<const char*>(obj), sz));
127 }
128
129 /**
130 * Convenience function that appends the bitwise representation of a

Callers

nothing calls this directly

Calls 1

appendFunction · 0.50

Tested by

no test coverage detected