| 10 | #include "stream1.h" |
| 11 | |
| 12 | size_t hc_read(struct hc_stream *s, uint8_t *data, const size_t n) { |
| 13 | assert(s->read); |
| 14 | return s->read(s, data, n); |
| 15 | } |
| 16 | |
| 17 | size_t hc_write(struct hc_stream *s, const uint8_t *data, const size_t n) { |
| 18 | assert(s->write); |