Culture-Sensitive C# Method
using System.Text
public virtual byte[] GetBytes(char[] chars);
public virtual byte[] GetBytes(string s);
public virtual byte[] GetBytes(char[] chars, int index, int count);
public virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex);
public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex);
Internationalization (I18n) Method Overview
Encodes a set of characters into a sequence of bytes.
For more information see Microsoft's
MSDN online documentation.
C# Encoding Information
|