| 522 | } |
| 523 | |
| 524 | int64_t |
| 525 | encode_dynamic_table_size_update(uint8_t *buf_start, const uint8_t *buf_end, uint32_t size) |
| 526 | { |
| 527 | buf_start[0] = 0x20; |
| 528 | const int64_t len = xpack_encode_integer(buf_start, buf_end, size, 5); |
| 529 | if (len == -1) { |
| 530 | return -1; |
| 531 | } |
| 532 | |
| 533 | return len; |
| 534 | } |
| 535 | |
| 536 | // |
| 537 | // [RFC 7541] 6.1. Indexed Header Field Representation |
no test coverage detected