MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / PushUnsafe

Method PushUnsafe

include/sonic/internal/stack.h:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 top_ += n;
90 }
91 sonic_force_inline void PushUnsafe(const char* s, size_t cnt) {
92 std::memcpy(top_, s, cnt);
93 top_ += cnt;
94 }
95 template <typename T>
96 sonic_force_inline void PushUnsafe(T v) {
97 *reinterpret_cast<T*>(top_) = v;

Callers 1

SonicError SerializeImplFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected