| 164 | } |
| 165 | |
| 166 | void etf_parser::append_binary(etf_buffer *b, const char *bytes, size_t size) { |
| 167 | unsigned char buf[5]; |
| 168 | buf[0] = ett_binary; |
| 169 | |
| 170 | store_32_bits(buf + 1, size); |
| 171 | buffer_write(b, (const char *)buf, 5); |
| 172 | buffer_write(b, (const char *)bytes, size); |
| 173 | } |
| 174 | |
| 175 | void etf_parser::append_string(etf_buffer *b, const char *bytes, size_t size) { |
| 176 | unsigned char buf[3]; |
nothing calls this directly
no outgoing calls
no test coverage detected