blob: aef21a9827ab881e3338473e06a19daf45c76947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "escpos/memory.h"
struct membuf {
struct escpos_mem mem;
size_t written;
};
void
membuf_terminate(struct membuf *buf, const void *data, const size_t data_sz);
void
membuf_append(struct membuf *buf, const void *data, const size_t data_sz);
|