12.4.18.2 Recorded database
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • The Foreign Include File
          • Miscellaneous
            • Recorded database
              • PL_record()
              • PL_duplicate_record()
              • PL_recorded()
              • PL_erase()
              • PL_record_external()
              • PL_recorded_external()
              • PL_recorded_external_len()
              • PL_erase_external()
    • Packages
Availability:C-language interface function
bool PL_recorded_external_len(const char *record, size_t len, term_t -t)
As PL_recorded_external(), but record is a record of len bytes from an untrusted source, for example read from a file or database. The data is validated before it is used. If it is not a valid record of exactly len bytes the function fails without raising an exception. Validation makes decoding somewhat slower.