public void TestByteArray()
        {
            _sendBridgeStream.Write(new byte[4] { 19, 20, 25, 10 });
            var data = _sendBridgeStream.Encode();

            var receivePacket = new BridgeStream(data);
            var sendValue = receivePacket.ReadByteArray();
            var expected = new byte[4] { 19, 20, 25, 10 };
            Assert.AreEqual(expected[0], sendValue[0]);
            Assert.AreEqual(expected[1], sendValue[1]);
            Assert.AreEqual(expected[2], sendValue[2]);
            Assert.AreEqual(expected[3], sendValue[3]);
        }