Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.6 KB

README.rst

File metadata and controls

50 lines (35 loc) · 1.6 KB

sg-cdb

Overview

sg-cdb is a pure Java version of D.J. Bernstein's constant database (cdb) package. Its API is the same as the one used in the original cdb library. Files created with sg-cdb can be read with the cdb library and vice versa. My goal was to provide a seamless way of porting cdb code to a Java environment without the need for a JNI library.

More cdb information can be found at D.J. Bernstein's home page: http://cr.yp.to/cdb.html. Please do not send sg-cdb questions to Mr. Bernstein. He is not the maintainer of this implementation.

See the sg-cdb product page on the strangeGizmo.com site for more information.

Change List

1.0.4

  • Fixed cdb.dump to avoid problems with charset conversion issues on some platforms (fixed by Ito Kazumitsu).
  • Fixed cdb.dump so that it outputs \n as the record terminator on Windows platforms, which would otherwise output \r\n (fixed by Ito Kazumitsu).

1.0.3

  • Fixed sign bit problem with binary keys (fixed by Eric Kampf).
  • Fixed findNext to correctly deal with multiple keys mapping to the same value (fixed by Eric Kampf).

1.0.2

  • First public release.