blob: 509f7ca5652127a6f6583124029d19d80822e3ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _SLICE_H_
#define _SLICE_H_
#include <stddef.h>
#include <stdint.h>
struct slice {
size_t size;
uint8_t *buf;
};
struct slice slice(struct slice, size_t, size_t);
struct slice slice1(struct slice, size_t);
#endif
|