public void ReadByteTest()
        {
            var payload = new byte[] {0x02, 0x00};
            byte result;
            using (var reader = new FrameDataReader(payload))
            {
                result = reader.ReadByte();
                Assert.AreEqual(1, reader.Position);
            }

            Assert.IsNotNull(result);
            Assert.AreEqual(payload[0], result);
        }
 public void DisposeTest()
 {
     var reader = new FrameDataReader(new byte[] {});
     reader.Dispose();
     reader.ReadByte();
 }