Exemple #1
0
        protected override void StoreData()
        {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
            BinaryReverseWriter    writer = new BinaryReverseWriter(stream);

            foreach (string name in m_channelNames)
            {
                writer.Write((byte)name.Length);
                writer.Write(name.ToCharArray());
            }

            writer.Close();
            stream.Close();

            Data = stream.ToArray();
        }
        protected override void StoreData()
        {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
            BinaryReverseWriter    writer = new BinaryReverseWriter(stream);

            writer.Write((Int16)m_hRes);
            writer.Write((Int32)m_hResUnit);
            writer.Write((Int16)m_widthUnit);

            writer.Write((Int16)m_vRes);
            writer.Write((Int32)m_vResUnit);
            writer.Write((Int16)m_heightUnit);

            writer.Close();
            stream.Close();

            Data = stream.ToArray();
        }
Exemple #3
0
        protected override void StoreData()
        {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
              BinaryReverseWriter writer = new BinaryReverseWriter(stream);

              foreach (string name in m_channelNames)
              {
            writer.Write((byte)name.Length);
            writer.Write(name.ToCharArray());
              }

              writer.Close();
              stream.Close();

              Data = stream.ToArray();
        }
Exemple #4
0
        protected override void StoreData()
        {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
              BinaryReverseWriter writer = new BinaryReverseWriter(stream);

              writer.Write((Int16)m_hRes);
              writer.Write((Int32)m_hResUnit);
              writer.Write((Int16)m_widthUnit);

              writer.Write((Int16)m_vRes);
              writer.Write((Int32)m_vResUnit);
              writer.Write((Int16)m_heightUnit);

              writer.Close();
              stream.Close();

              Data = stream.ToArray();
        }