Example #1
0
    void OnDestroy()
    {
        m_logger.Close();
        m_logger = null;
        FileStream fs = new FileStream("test_standard.txt"
                                       , FileMode.CreateNew
                                       , FileAccess.Write);
        BufferedStream buf = new BufferedStream(fs);

        foreach (string item in m_lstStandard)
        {
            byte[] bytes = Encoding.Unicode.GetBytes(item);
            buf.Write(bytes, 0, bytes.Length);
        }
        buf.Flush();
    }
Example #2
0
 void OnDestroy()
 {
     m_logger.Close();
     m_logger = null;
 }