byte[] ↔ string


// 바이트 배열을 String으로 변환 private string ByteToString(byte[] strByte) 
{ 
	string str = Encoding.Default.GetString(StrByte);
	return str;
} 
// String을 바이트 배열로 변환 private byte[] StringToByte(string str) 
{
	byte[] StrByte = Encoding.UTF8.GetBytes(str);
	return StrByte;
}

출처: <https://zephie.tistory.com/11> [zephie DebugHolic]

10진수 ↔ 16진수