12.4.8.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_get_blob()
PL_blob_data()
Packages
Availability:
C-language interface function
int
PL_unify_blob
(
term_t t, void *blob, size_t len, PL_blob_t *type
)
Unify
t
to a new blob constructed from the given data and associated to the given type. See also
PL_unify_atom_nchars()
.