Class FileBlock


  • public class FileBlock
    extends FileBlockBase
    A full fileblock object contains both the metadata and data of a fileblock
    • Method Detail

      • newInstance

        public static FileBlock newInstance​(java.lang.String type,
                                            com.google.protobuf.ByteString blob,
                                            com.google.protobuf.ByteString indexdata)
      • writeTo

        public FileBlockPosition writeTo​(java.io.OutputStream outwrite,
                                         org.openstreetmap.osmosis.osmbinary.file.CompressFlags flags)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getData

        public com.google.protobuf.ByteString getData()