12.9.8 Support functions for blob save/load
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Foreign access to Prolog IO streams
          • Support functions for blob save/load
            • PL_qlf_put_int64()
            • PL_qlf_put_int32()
            • PL_qlf_put_uint32()
            • PL_qlf_put_double()
            • PL_qlf_put_atom()
            • PL_qlf_get_int64()
            • PL_qlf_get_int32()
            • PL_qlf_get_uint32()
            • PL_qlf_get_double()
            • PL_qlf_get_atom()
    • Packages
Availability:C-language interface function
int PL_qlf_put_int64(int64_t i, IOSTREAM *s)
int PL_qlf_put_int32(int32_t i, IOSTREAM *s)
int PL_qlf_put_uint32(uint32 i, IOSTREAM *s)
Write integers of several sizes. Signed integers are written in zigzag encoding. For unsigned integers we only write the non-zero bytes. The result is compact and the same for big or little endian.