Exemplo n.º 1
0
 public void AddDataPoint(SttpDataPoint dataPoint)
 {
     if (m_encoder.AddDataPoint(dataPoint) > 8100)
     {
         m_stream.Write(m_encoder.ToArray());
         m_encoder.Clear();
     }
 }
Exemplo n.º 2
0
 public bool ReadDataPoint(SttpDataPoint dataPoint)
 {
     return(m_currentDecoder.Read(dataPoint));
 }