2021-04-17 02:41:46 +02:00
|
|
|
|
//
|
|
|
|
|
// PDF stream functions for pdfio.
|
|
|
|
|
//
|
|
|
|
|
// Copyright © 2021 by Michael R Sweet.
|
|
|
|
|
//
|
|
|
|
|
// Licensed under Apache License v2.0. See the file "LICENSE" for more
|
|
|
|
|
// information.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Include necessary headers...
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "pdfio-private.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
bool pdfioStreamClose(pdfio_stream_t *st)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-04-17 03:09:43 +02:00
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
void _pdfioStreamDelete(pdfio_stream_t *obj)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-04-17 02:41:46 +02:00
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
bool pdfioStreamPrintf(pdfio_stream_t *st, const char *format, ...)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
bool pdfioStreamPuts(pdfio_stream_t *st, const char *s)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
ssize_t pdfioStreamRead(pdfio_stream_t *st, void *buffer, size_t bytes)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// '()' - .
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
bool pdfioStreamWrite(pdfio_stream_t *st, const void *buffer, size_t bytes)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|