private byte[] get(NativeReadOptions options, NativeSlice keySlice) throws DBException { assertAllocated(); NativeStdString result = new NativeStdString(); try { checkStatus(DBJNI.Get(self, options, keySlice, result.pointer())); return result.toByteArray(); } finally { result.delete(); } }