Hi,
Do I need to convert binary keys to ASCII before storage and retrieval?
I ask this because
I saw Dbt constructor only support string keys
Dbc (void *, ....);
Please correct me if I am wrong.
Thanks
Jack
The keys do not need to be in ASCII form.
The constructor signature is:
Dbt(void *data, u_int32_t size);
void* is untyped data - which can be anything you like.
the signature you mention above is Dbc -- this is a cursor. Cursors can
be used for retrieving data, but do not need to be. There is no
reference to ASCII strings in cursors either.