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

Go to the source code of this file.

Functions

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO (BytesInputStream, InputStream) String BytesInputStream

Function Documentation

◆ IMPLEMENT_CLASSINFO()

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO ( BytesInputStream ,
InputStream  )

Definition at line 15 of file BytesInputStream.cpp.

18{
19 StringBuilder r = className();
20 r.format(__T("(%ubytes)"), __str.length());
21 return r;
22}
23
24BytesInputStream::BytesInputStream(const ByteString& _str)
25{
26 __str = _str;
27 __begin = _str;
28 __end = __begin + _str.length();
29}
#define __T(str)
Definition Object.h:44
ByteString r
const char * __begin