コード例 #1
0
 /// <summary>Decompress the byte array previously returned by
 /// compressString back into a String
 /// </summary>
 public static System.String DecompressString(byte[] value_Renamed)
 {
     UnicodeUtil.UTF16Result result = new UnicodeUtil.UTF16Result();
     byte[] bytes = Decompress(value_Renamed);
     UnicodeUtil.UTF8toUTF16(bytes, 0, bytes.Length, result);
     return(new System.String(result.result, 0, result.length));
 }
コード例 #2
0
 // Currently used only by assert statements
 private bool InitUTF16Results()
 {
     utf16Result1 = new UnicodeUtil.UTF16Result();
     utf16Result2 = new UnicodeUtil.UTF16Result();
     return(true);
 }