Feature.toWKB() and Feature.toWKT()

"to" feels like the wrong phrasing, since it's only the geometries that are being output, but lacking a direct handle on associated geometries, it seemed close enough.