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

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top