MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_read

Function hc_read

stream1/stream1.c:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "stream1.h"
11
12size_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
17size_t hc_write(struct hc_stream *s, const uint8_t *data, const size_t n) {
18 assert(s->write);

Callers 1

hc_getcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected