MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / append_integer

Method append_integer

src/dpp/etf.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void etf_parser::append_integer(etf_buffer *b, int32_t d) {
82 unsigned char buf[5];
83 buf[0] = ett_integer;
84 store_32_bits(buf + 1, d);
85 buffer_write(b, (const char *)buf, 5);
86}
87
88void etf_parser::append_unsigned_long_long(etf_buffer *b, unsigned long long d) {
89 unsigned char buf[1 + 2 + sizeof(unsigned long long)];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected