aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/public/decimal/yql_decimal_serialize.h
blob: 6fdb32e6f2ad9ede98dcb58dd24248251e7014b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <yql/essentials/public/decimal/yql_decimal.h>

namespace NYql {
namespace NDecimal {

// big-endian 16 bytes buffer.
size_t Serialize(TInt128 v, char* buff);
std::pair<TInt128, size_t> Deserialize(const char* buff, size_t len);

}
}