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

Method append_small_integer

src/dpp/etf.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void etf_parser::append_small_integer(etf_buffer *b, unsigned char d) {
77 unsigned char buf[2] = {ett_smallint, d};
78 buffer_write(b, (const char *)buf, 2);
79}
80
81void etf_parser::append_integer(etf_buffer *b, int32_t d) {
82 unsigned char buf[5];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected