Пример #1
0
            internal override void Write(System.IO.Stream ostream)
            {
                string str = this.data.Length + ":";

                ostream.Write(System.Text.ASCIIEncoding.ASCII.GetBytes(str), 0, str.Length);
                ostream.Write(this.data, 0, this.data.Length);
            }
Пример #2
0
            internal override void Write(System.IO.Stream ostream)
            {
                string str = "i" + this.ToString() + "e";

                ostream.Write(System.Text.ASCIIEncoding.ASCII.GetBytes(str), 0, str.Length);
            }