- ReadBuffer - Class in org.mapsforge.map.reader
-
Reads from a RandomAccessFile
into a buffer and decodes the data.
- readByte() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Returns one signed byte from the read buffer.
- readFloat() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts four bytes from the read buffer to a float.
- readFromFile(int) - Method in class org.mapsforge.map.reader.ReadBuffer
-
Reads the given amount of bytes from the file into the read buffer and resets the internal buffer position.
- readFromFile(long, int) - Method in class org.mapsforge.map.reader.ReadBuffer
-
Reads the given amount of bytes from the file into the read buffer and resets the internal buffer position.
- readHeader(ReadBuffer, long) - Method in class org.mapsforge.map.reader.header.MapFileHeader
-
Reads and validates the header block from the map file.
- readInt() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts four bytes from the read buffer to a signed int.
- readLabels(Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads only labels for tile.
- readLabels(Tile, Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads data for an area defined by the tile in the upper left and the tile in
the lower right corner.
- readLong() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts eight bytes from the read buffer to a signed long.
- readMapData(Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads all map data for the area covered by the given tile at the tile zoom level.
- readMapData(Tile, Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads data for an area defined by the tile in the upper left and the tile in
the lower right corner.
- readPoiData(Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads only POI data for tile.
- readPoiData(Tile, Tile) - Method in class org.mapsforge.map.reader.MapFile
-
Reads POI data for an area defined by the tile in the upper left and the tile in
the lower right corner.
- readShort() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts two bytes from the read buffer to a signed int.
- readSignedInt() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts a variable amount of bytes from the read buffer to a signed int.
- readUnsignedInt() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Converts a variable amount of bytes from the read buffer to an unsigned int.
- readUTF8EncodedString() - Method in class org.mapsforge.map.reader.ReadBuffer
-
Decodes a variable amount of bytes from the read buffer to a string.
- readUTF8EncodedString(int) - Method in class org.mapsforge.map.reader.ReadBuffer
-
Decodes the given amount of bytes from the read buffer to a string.
- restrictToZoomRange(byte, byte) - Method in class org.mapsforge.map.reader.MapFile
-
Restricts returns of data to zoom level range specified.