12.4.10.2 Accessing blobs
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Foreign Language Interface
The Foreign Include File
BLOBS: Using atoms to store arbitrary binary data
Accessing blobs
PL_is_blob()
PL_unify_blob()
PL_put_blob()
PL_new_blob()
PL_get_blob()
PL_blob_data()
PL_free_blob()
Packages
Availability:
C-language interface function
atom_t
PL_new_blob
(
void *blob, size_t len, PL_blob_t *type
)
Create a blob from its internal opaque form. This function is intended for the “load” function of a blob.