Byte []-> string system. Text. encoding. Default. getstring
-> Basestring tobase64string
String-> byte [] encoding. utf7.getbytes (string) public static byte [] urldecodetobytes (string );
Char []-> string new string (char [] value );
String-> char [] string. tochararray ()
Char []-> byte [] Byte [] encoding. utf7.getbytes (char []);
Byte []-> char [] encoding. utf7.getchars (byte []);
Char []-> byte -----------------------------
Char-> byte convert. tobyte
Byte-> char convert. tochar
Byte []-> char bitconverter. tochar (char []) // This class can be converted from byte [] to various types
String-> Byte "8"-> 8 byte. parse ()
Byte-> string 7-> "7"
Byte -- 8 255
Char-16 65535
Unicode-16 65535
String-16 65535
Buffer. blockcopy () // operate byte./other Arrays
Array. Copy () // operate byte./other Arrays
Bitconverter, which can easily convert other primitive types (except string) to byte []
Convert. tostring (INT, 2) binary display