code: public static void writeMultiPoint(ByteWriter writer, MultiPoint multiPoint)
  			throws IOException {
  
  		writer.writeInt(multiPoint.numPoints());
  
  		for (Point point : multiPoint.getPoints()) {
  			writeGeometry(writer, point);
  		}
  	}
docs: Write a Multi Point
  
  @param writer
  @param multiPoint
  @throws IOException