datatype cast between byte[] and string