ST_asBinary

更新时间:
复制 MD 格式

Returns the well-known binary (WKB) representation of a pcpoint object as a bytea value.

Syntax

bytea ST_AsBinary(pcpoint pt);

Parameters

ParameterDescription
ptThe pcpoint object.

Examples

SELECT ST_AsBinary('010100000064CEFFFF94110000703000000400'::pcpoint);

Output:

\x01010000800000000000c05fc000000000008046400000000000005f40