Encodes the specified char array.
- chars
- The char array to encode.
A byte array containing the encoded representation of chars.
Type Reason ArgumentNullException chars is null.
Operation
As described above.Note to Inheritors
This method is overridden by types derived from System.Text.Encoding to perform the encoding.
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0