Make store_bytes_field output prettier.

GitOrigin-RevId: 992b7cb8875bb3238484c4a254b3498266233939
This commit is contained in:
levlam 2019-02-21 01:55:40 +03:00
parent bfaaf09b2b
commit 9759036081

View File

@ -227,12 +227,10 @@ class TlStorerToString {
int b = value[static_cast<int>(i)] & 0xff;
result += hex[b >> 4];
result += hex[b & 15];
if (i + 1 != len) {
result += ' ';
}
result += ' ';
}
if (len < value.size()) {
result.append(" ...");
result.append("...");
}
result += '}';
store_field_end();