3#include <userver/storages/postgres/io/buffer_io.hpp>
5#include <userver/utils/zstring_view.hpp>
9namespace storages::
postgres::io::detail {
12struct IntegralRepresentation {
14 int fractional_digit_count;
19std::string NumericBufferToString(
const FieldBuffer& buffer);
29IntegralRepresentation NumericBufferToInt64(
const FieldBuffer& buffer);
34std::string Int64ToNumericBuffer(
const IntegralRepresentation& rep);