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