To read 2 byte flag from DB file.

Joined
Mar 18, 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

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top