pmt: BLOBs

pmt.is_blob(pmt_t x) → bool

Return true if is a blob, othewise false.

pmt.make_blob(void buf, size_t len) → pmt_t

Make a blob given a pointer and length in bytes.

The data is copied into the blob.

pmt.blob_data(pmt_t blob) → void

Return a pointer to the blob’s data.

pmt.blob_length(pmt_t blob) → size_t

Return the blob’s length in bytes.

Previous topic

pmt: Read/Write

Next topic

pmt: Booleans

This Page