code: public static void writeMultiLineString(ByteWriter writer,
  			MultiLineString multiLineString) throws IOException {
  
  		writer.writeInt(multiLineString.numLineStrings());
  
  		for (LineString lineString : multiLineString.getLineStrings()) {
  			writeGeometry(writer, lineString);
  		}
  	}
docs: Write a Multi Line String
  
  @param writer
  @param multiLineString
  @throws IOException