Update Java cursors to use packing code. Also enhance JUnit usage.

This commit is contained in:
Alex Gorrod
2013-02-13 19:14:40 +11:00
parent 19fed99760
commit 52d37a140b
6 changed files with 292 additions and 77 deletions

View File

@@ -25,6 +25,11 @@ public class PackOutputStream {
return packed.toByteArray();
}
public void reset() {
format.reset();
packed.reset();
}
public void addFieldByte(byte value)
throws WiredTigerPackingException {
format.checkFieldType('b', true);