DCL 4.0
Loading...
Searching...
No Matches
BufferedInputStream.cpp File Reference
#include <stdlib.h>
#include <string.h>
#include <dcl/BufferedInputStream.h>
#include <dcl/size_t.h>

Go to the source code of this file.

Functions

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO (BufferedInputStream, InputStream) String BufferedInputStream

Function Documentation

◆ IMPLEMENT_CLASSINFO()

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO ( BufferedInputStream ,
InputStream  )

Definition at line 14 of file BufferedInputStream.cpp.

17{
18 StringBuilder r = className();
19 if (__input)
20 r += __T("(") + __input->toString() + __T(")");
21 else
22 r += __T(" closed");
23 return r;
24}
25
26BufferedInputStream::BufferedInputStream(InputStream& __noclose__ _input, size_t _bufSize)
27{
28 __DCL_ASSERT_PARAM(_bufSize > 0);
29
30 __input = &_input;
31 __closeDestroy = false;
32
33 __buf = NULL;
34 __bufSize = _bufSize;
35 __begin = __end = NULL;
36 __endLine = false;
37}
#define NULL
Definition Config.h:340
#define __noclose__
Definition Config.h:360
#define __DCL_ASSERT_PARAM(expr)
Definition Object.h:384
#define __T(str)
Definition Object.h:44
ByteString r