Package crosby.binary

Interface BinarySerializer.PrimGroupWriterInterface

  • Enclosing class:
    BinarySerializer

    protected static interface BinarySerializer.PrimGroupWriterInterface
    Interface used to write a group of primitives. One of these for each group type (Node, Way, Relation, DenseNode, Changeset)
    • Method Detail

      • addStringsToStringtable

        void addStringsToStringtable()
        This callback is invoked on each group that is going into the fileblock in order to give it a chance to add to the stringtable pool of strings.
      • serialize

        Osmformat.PrimitiveGroup serialize()
        This callback is invoked to request that the primgroup serialize itself into the given protocol buffer object.