Mono Class Library: System.Text.UnicodeEncoding Overview | MembersSystem.Text.UnicodeEncoding.GetPreamble Method |
Returns the bytes used at the beginning of a System.IO.Stream instance to determine which System.Text.Encoding implementation the stream was created with. [Edit]
|
A byte array that identifies the System.Text.Encoding implementation used to create a System.IO.Stream . [Edit]
UnicodeEncoding.GetPreamble returns the Unicode byte order mark (U+FEFF) in either big-endian or little-endian order, according the ordering that the current instance was initialized with.
Note: This method overrides Encoding.GetPreamble.[Edit]
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0