Commit Graph

16 Commits

Author SHA1 Message Date
simonpoole 8219186b2e Extract and make CompressFlags public
Fixes https://github.com/openstreetmap/OSM-binary/issues/68
2024-01-07 11:44:09 +01:00
Simon Legner 3dac689ea7 BlockReaderAdapter: implement Closeable, Flushable 2021-01-04 20:34:57 +01:00
Simon Legner d5bdd020c1 Replace Error with adequate Exceptions
Sometimes wrapped in UncheckedIOException to not change the method signatures.
2021-01-03 23:50:43 +01:00
Simon Legner 712c8cacf7 Use Java array syntax 2021-01-03 23:39:46 +01:00
Simon Legner b787a1fdaa Modernise Java codebase (Java 8 features) 2021-01-03 23:39:01 +01:00
Simon Legner 22092218af BlockInputStream: implement Closeable 2021-01-03 23:27:41 +01:00
Scott Crosby 87d7de3090 Get rid of the input.available call. 2011-01-10 22:22:00 -06:00
Scott Crosby fdb5facaff Add in LGPL copyright notices to the osmpbf library. 2011-01-02 20:21:48 -06:00
Scott Crosby f0ea2798ed Rename BlockHeader to BlobHeader 2010-12-21 11:39:02 -06:00
Scott Crosby 704cb83b3b For uncompressed data, store the uncompressed size. 2010-11-16 11:35:29 -06:00
Scott Crosby 5f48470e21 Warn about files too big that they may cause failures. 2010-10-07 11:51:31 -05:00
Scott Crosby 6d760534c4 Allow bigger blocks before erroring out, and comment the bounds. 2010-09-16 13:42:05 -05:00
Scott Crosby 7be01e2217 Add in more error detection. 2010-09-15 11:41:26 -05:00
Scott Crosby 4f013ebbfc Be a bit more careful with error handling and printing warning messages. 2010-09-02 07:42:30 -05:00
Scott Crosby 44c9870213 Remove unused imports. 2010-08-30 08:33:51 -05:00
Scott Crosby 8f0c4a8bc2 Protobufs and common Java code for binary format. 2010-08-25 11:40:06 -05:00