The following returns CurvePolygon (CircularString (0 0, 10 0, 10 10, 0 10, 0 0))
SELECT NEW ST_CurvePolygon(0x010a000000010000000108000000050000000000000000000000000000000000000000000000000024400000000000000000000000000000244000000000000024400000000000000000000000000000244000000000000000000000000000000000)