2 * The UniCode Library: Reading and writing of UTF-8 on Fastbuf Streams
4 * (c) 2001--2002 Martin Mares <mj@ucw.cz>
10 #include "charset/unicode.h"
12 int bget_utf8_slow(struct fastbuf *b);
13 void bput_utf8_slow(struct fastbuf *b, uns u);
16 bget_utf8(struct fastbuf *b)
20 if (b->bptr + 5 <= b->bufend)
26 return bget_utf8_slow(b);
30 bput_utf8(struct fastbuf *b, uns u)
33 if (b->bptr + 5 <= b->bufend)