geoJSONDataUsingEncoding method

NSData geoJSONDataUsingEncoding(
  1. int encoding
)

Returns the GeoJSON string representation of the shape encapsulated in a data object.

@param encoding The string encoding to use. @return A data object containing the shape’s GeoJSON string representation.

Implementation

objc.NSData geoJSONDataUsingEncoding(int encoding) {
  final _ret = _objc_msgSend_14hpxwa(this.ref.pointer, _sel_geoJSONDataUsingEncoding_, encoding);
  return objc.NSData.castFromPointer(_ret, retain: true, release: true);
}