Example #1
0
 /// <summary>
 /// Turn byte array to text data.
 /// </summary>
 /// <param name="data"> Byte array will be use to convert to text data. </param>
 /// <param name="charset"> Target charset type. </param>
 /// <returns> String data that had been converted. </returns>
 public static string AsText(byte[] data, JCS_CharsetType charset)
 {
     return(JCS_Utility.BytesToString(data, charset));
 }