
    Dvg                      n    d Z ddlmZ ddlmZmZmZmZ g dZ G d de          Z	 G d de          Z
d	S )
z
Module that holds classes for performing I/O operations on GEOS geometry
objects.  Specifically, this has Python implementations of WKB/WKT
reader and writer classes.
    )GEOSGeometry)	WKBWriter	WKTWriter
_WKBReader
_WKTReader)r   r   	WKBReader	WKTReaderc                        e Zd Z fdZ xZS )r   c                 `    t          t                                          |                    S )z/Return a GEOSGeometry for the given WKB buffer.r   superread)selfwkb	__class__s     W/var/www/pixelcanvas.ch/venv/lib/python3.11/site-packages/django/contrib/gis/geos/io.pyr   zWKBReader.read   !    EGGLL--...    __name__
__module____qualname__r   __classcell__r   s   @r   r   r      8        / / / / / / / / /r   r   c                        e Zd Z fdZ xZS )r	   c                 `    t          t                                          |                    S )z/Return a GEOSGeometry for the given WKT string.r   )r   wktr   s     r   r   zWKTReader.read   r   r   r   r   s   @r   r	   r	      r   r   r	   N)__doc__ django.contrib.gis.geos.geometryr   %django.contrib.gis.geos.prototypes.ior   r   r   r   __all__r   r	    r   r   <module>r$      s     : 9 9 9 9 9            ?
>
>/ / / / /
 / / // / / / /
 / / / / /r   