3#include <userver/storages/postgres/io/buffer_io.hpp>
10struct IntegralRepresentation {
12 int fractional_digit_count;
17std::string NumericBufferToString(
const FieldBuffer& buffer);
20std::string StringToNumericBuffer(
const std::string& str_rep);
27IntegralRepresentation NumericBufferToInt64(
const FieldBuffer& buffer);
32std::string Int64ToNumericBuffer(
const IntegralRepresentation& rep);