|
a/src/bincimapmime/convert.cc |
|
b/src/bincimapmime/convert.cc |
|
... |
|
... |
45 |
{
|
45 |
{
|
46 |
clear();
|
46 |
clear();
|
47 |
}
|
47 |
}
|
48 |
|
48 |
|
49 |
//------------------------------------------------------------------------
|
49 |
//------------------------------------------------------------------------
|
50 |
string BincStream::popString(unsigned int size)
|
50 |
string BincStream::popString(std::string::size_type size)
|
51 |
{
|
51 |
{
|
52 |
if (size > nstr.length())
|
52 |
if (size > nstr.length())
|
53 |
size = nstr.length();
|
53 |
size = nstr.length();
|
54 |
string tmp = nstr.substr(0, size);
|
54 |
string tmp = nstr.substr(0, size);
|
55 |
nstr = nstr.substr(size);
|
55 |
nstr = nstr.substr(size);
|