yql_decimal_serialize.h 256 B

12345678910111213
  1. #pragma once
  2. #include <yql/essentials/public/decimal/yql_decimal.h>
  3. namespace NYql {
  4. namespace NDecimal {
  5. // big-endian 16 bytes buffer.
  6. size_t Serialize(TInt128 v, char* buff);
  7. std::pair<TInt128, size_t> Deserialize(const char* buff, size_t len);
  8. }
  9. }