To read 2 byte flag from DB file.

Joined
Mar 19, 2007
Messages
2
Reaction score
0
What is the most effective way to read 2 byte flag from database file ?
can i use readShort() method of DataInputStream ?

A database file has few Records with 2 byte flag which 00 implies valid record, 0x8000 implies deleted record " .
what does 0x8000 means ? How could i read this from file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top