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

Method Push5_8

include/sonic/internal/stack.h:115–119  ·  view source on GitHub ↗

faster api for push 5 ~ 8 bytes.

Source from the content-addressed store, hash-verified

113
114 // faster api for push 5 ~ 8 bytes.
115 sonic_force_inline void Push5_8(const char* bytes8, size_t n) {
116 Grow(8);
117 std::memcpy(top_, bytes8, 8);
118 top_ += n;
119 }
120
121 /**
122 * @brief Get the top value in the buffer.

Callers 1

SonicError SerializeImplFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected