static public GeographyValue decodeGeography ( final ByteBuffer bb ) { final int strLength = bb . getInt ( ) ; final int startPosition = bb . position ( ) ; GeographyValue gv = GeographyValue . unflattenFromBuffer ( bb ) ; assert ( bb . position ( ) - startPosition == strLength ) ; return gv ; }
Read a geography according to the Four Dot Four Export encoding specification .