MCPcopy Create free account
hub / github.com/apache/fory / write_int64

Method write_int64

cpp/fory/util/buffer.h:741–745  ·  view source on GitHub ↗

write int64_t value as fixed 8 bytes to buffer at current writer index. Automatically grows buffer and advances writer index.

Source from the content-addressed store, hash-verified

739 /// write int64_t value as fixed 8 bytes to buffer at current writer index.
740 /// Automatically grows buffer and advances writer index.
741 FORY_ALWAYS_INLINE void write_int64(int64_t value) {
742 grow(8);
743 unsafe_put<int64_t>(writer_index_, value);
744 increase_writer_index(8);
745 }
746
747 /// write float value as fixed 4 bytes to buffer at current writer index.
748 /// Automatically grows buffer and advances writer index.

Callers 2

test_bufferFunction · 0.95
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_bufferFunction · 0.76
TESTFunction · 0.36