---
name: "PX_read_blobdata"
section: "3"
platform: "linux"
package: "pxlib-dev"
version: "0.6.9-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PX_read_blobdata"
---

# PX\_read\_blobdata(3)

Read blob from file (deprecated)

## NAME

PX\_read\_blobdata — Read blob from file (deprecated)

## SYNOPSIS

\#include \<paradox.h\>

char\* PX\_read\_blobdata(pxblob\_t \*pxblob, const char \*data, int len, int \*mod\_nr, int \*blobsize)

## DESCRIPTION

Reads blob data from the given blob document (.MB file)  passed as the  first parameter. **data** is the data stored in the  blob field of the db file. **len** is the length  of that field. The function hides everything needed for evaluating  the field data. It can handle both single blob blocks and  suballocated blocks.

This function is deprecated. Use  **[PX\_set\_blob\_file(3)](/PX_set_blob_file/3.md)** 			and **[PX\_get\_data\_blob(3)](/PX_get_data_blob/3.md)** 			or **[PX\_get\_data\_graphic(3)](/PX_get_data_graphic/3.md)** instead.

## RETURNS

Returns NULL in case of an error or a pointer to the blob  data. **mod\_nr** contains the modification number of  the blob and **blobsize** contains the length of  the blob data. The modification number can be used as a unique  id for the blob.

## AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.
