LMMS
Loading...
Searching...
No Matches
byte_sink.h File Reference
#include "serd_internal.h"
#include "system.h"
#include "serd/serd.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>

Go to the source code of this file.

Classes

struct  SerdByteSinkImpl

Typedefs

typedef struct SerdByteSinkImpl SerdByteSink

Functions

static SerdByteSink serd_byte_sink_new (SerdSink sink, void *stream, size_t block_size)
static void serd_byte_sink_flush (SerdByteSink *bsink)
static void serd_byte_sink_free (SerdByteSink *bsink)
static size_t serd_byte_sink_write (const void *buf, size_t len, SerdByteSink *bsink)

Typedef Documentation

◆ SerdByteSink

Function Documentation

◆ serd_byte_sink_flush()

void serd_byte_sink_flush ( SerdByteSink * bsink)
inlinestatic

◆ serd_byte_sink_free()

void serd_byte_sink_free ( SerdByteSink * bsink)
inlinestatic

◆ serd_byte_sink_new()

SerdByteSink serd_byte_sink_new ( SerdSink sink,
void * stream,
size_t block_size )
inlinestatic

◆ serd_byte_sink_write()

size_t serd_byte_sink_write ( const void * buf,
size_t len,
SerdByteSink * bsink )
inlinestatic