byte array1 C# Winform | String to Byte Array | Byte Array to String C# Winform | String to Byte Array | Byte Array to String String to Byte Array private byte[] StringToByte(string str) { byte[] bytes = Encoding.Default.GetBytes(str); return bytes; } Colored by Color Scripter cs Byte Array to String private string ByteToString(byte[] bytes) { string str = Encoding.Default.GetString(bytes); return str; } Colored by Color Scripter cs Test Code private void btnTest.. 2020. 12. 8. 이전 1 다음