32 #ifndef _QORE_BINARYOUTPUTSTREAM_H 33 #define _QORE_BINARYOUTPUTSTREAM_H 36 #include "qore/OutputStream.h" 48 return "BinaryOutputStream";
80 #endif // _QORE_BINARYOUTPUTSTREAM_H DLLLOCAL bool isClosed() override
Returns true is the stream has been closed.
Definition: BinaryOutputStream.h:51
Private data for the Qore::BinaryOutputStream class.
Definition: BinaryOutputStream.h:41
Interface for private data of output streams.
Definition: OutputStream.h:44
DLLLOCAL bool check(ExceptionSink *xsink)
Checks that the current thread is the same as when the instance was created or assigned via unassignT...
Definition: OutputStream.h:54
DLLLOCAL void close(ExceptionSink *xsink) override
Flushes any buffered (unwritten) bytes, closes the output stream and releases resources.
Definition: BinaryOutputStream.h:55
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
long long int64
64bit integer type, cannot use int64_t here since it breaks the API on some 64-bit systems due to equ...
Definition: common.h:260
DLLLOCAL const char * getName() override
Returns the name of the class.
Definition: BinaryOutputStream.h:47
DLLLOCAL void write(const void *ptr, int64 count, ExceptionSink *xsink) override
Writes bytes to the output stream.
Definition: BinaryOutputStream.h:60
DLLEXPORT void append(const void *nptr, qore_size_t size)
resizes the object and appends a copy of the data passed to the object
holds arbitrary binary data
Definition: BinaryNode.h:41