This topic describes the ST_BinData function. This function returns user-defined binary data.

Syntax

bytea ST_BinData(sfmesh sfmeshObject);
bytea ST_BinData(material material);

Parameters

ParameterDescription
sfmeshObjectThe sfmesh object.
materialThe material object.

Description

This function returns user-defined binary data. Before you call this function, you must call the ST_SetBinData function to set user-defined binary data.

Examples

SELECT ST_BinData(ST_SetBinData(the_mesh, 'abc'::bytea))
FROM t_table;

-------------------
\x616263