|
Qore Programming Language
0.9.16
|
32 #ifndef _QORE_INPUTSTREAMWRAPPER_H
33 #define _QORE_INPUTSTREAMWRAPPER_H
35 #include "qore/InputStream.h"
53 args->
push(limit, xsink);
62 "%s::read() returned an empty binary; NOTHING should be used to indicate the end of the stream",
68 "%s::rRead() returned %lu bytes which is more than the specified limit of %lu",
72 memcpy(ptr, buf->
getPtr(), count);
81 return resHolder->getAsBigInt();
88 DLLLOCAL
virtual const char*
getName()
override {
89 return "InputStreamWrapper";
96 #endif // _QORE_INPUTSTREAMWRAPPER_H
size_t qore_size_t
used for sizes (same range as a pointer)
Definition: common.h:73
This is the list container type in Qore, dynamically allocated only, reference counted.
Definition: QoreListNode.h:52
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
const DLLEXPORT char * getClassName() const
returns the name of the class
DLLEXPORT qore_size_t size() const
returns the number of bytes in the object
DLLEXPORT AbstractQoreNode * raiseException(const char *err, const char *fmt,...)
appends a Qore-language exception to the list
DLLEXPORT int push(QoreValue val, ExceptionSink *xsink)
adds a value to the list
the implementation of Qore's object data type, reference counted, dynamically-allocated only
Definition: QoreObject.h:61
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
const DLLEXPORT void * getPtr() const
returns the pointer to the data
holds an object and dereferences it in the destructor
Definition: QoreValue.h:452
holds arbitrary binary data
Definition: BinaryNode.h:41
DLLEXPORT QoreValue evalMethod(const QoreString *name, const QoreListNode *args, ExceptionSink *xsink)
evaluates the given method with the arguments passed and returns the return value,...