GetEncoder() публичный Метод

public GetEncoder ( ) : System.Text.Encoder
Результат System.Text.Encoder
Пример #1
0
 static public int GetEncoder(IntPtr l)
 {
     try {
         System.Text.UTF8Encoding self = (System.Text.UTF8Encoding)checkSelf(l);
         var ret = self.GetEncoder();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #2
0
        private static StringBuilder namebuf = new StringBuilder(256); // this is also a lock target

        static NetCDF()
        {
            Encoding encoding = new UTF8Encoding(false);
            utfEncoder = encoding.GetEncoder();
            utfDecoder = encoding.GetDecoder();
        }
Пример #3
0
 public void PosTest1()
 {
     UTF8Encoding utf8 = new UTF8Encoding();
     Encoder encoder = utf8.GetEncoder();
 }