i am working on a RFID project, in which i should identify vehicles with their RFID tag. the RFID Tags contain 14 bytes of data. my first clue was to convert each byte of the array to string something like this :
public String convertByteToString(byte[] tag)
{
String stringRfid ="";
for(int i=0; i<14; i++)
stringRfid = stringRfid + tag[i];
return stringRfid;
}
i don't know if this is a humble solution or what. some say and i quote it "storing raw byte[] in BLOB - the safest and most storage-effective way." would you please give me tip what is the fastest and easiest and also efficient way to do this?