| 173 | } |
| 174 | |
| 175 | void etf_parser::append_string(etf_buffer *b, const char *bytes, size_t size) { |
| 176 | unsigned char buf[3]; |
| 177 | buf[0] = ett_string; |
| 178 | |
| 179 | store_16_bits(buf + 1, size); |
| 180 | buffer_write(b, (const char *)buf, 3); |
| 181 | buffer_write(b, (const char *)bytes, size); |
| 182 | } |
| 183 | |
| 184 | void etf_parser::append_tuple_header(etf_buffer *b, size_t size) { |
| 185 | if (size < 256) { |
nothing calls this directly
no outgoing calls
no test coverage detected