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