blob: 2a781d032d6351aacfb8a0addb040b2842f2211b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "guid.h"
namespace NYT {
////////////////////////////////////////////////////////////////////////////////
void FormatValue(TStringBuilderBase* builder, TGuid value, TStringBuf /*format*/)
{
char* begin = builder->Preallocate(MaxGuidStringSize);
char* end = WriteGuidToBuffer(begin, value);
builder->Advance(end - begin);
}
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT
|