static public void encodeGeographyPoint ( final FastSerializer fs , GeographyPointValue value ) throws IOException { final int length = GeographyPointValue . getLengthInBytes ( ) ; ByteBuffer bb = ByteBuffer . allocate ( length ) ; bb . order ( ByteOrder . nativeOrder ( ) ) ; value . flattenToBuffer ( bb ) ; byte [ ] array = bb . array ( ) ; assert ( array . length == length ) ; fs . write ( array ) ; }
Encode a GEOGRAPHY_POINT according to the Export encoding specification .