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 ? (It doesnt give expected ans to me.)

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?
Please help to solve this .
 

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,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top