Encoding.Default.GetBytes ( str );. 反過來,byte[]轉成string:. string str = System.Text.Encoding.Default.GetString ( byteArray );.
確定! 回上一頁