public void BytesArrayRemoveDoubleTest( )
        {
            byte[] b1 = new byte[] { 0x13, 0xA6, 0x15, 0x85, 0x5B, 0x05, 0x12 };
            byte[] b2 = new byte[] { 0xA6, 0x15, 0x85 };

            byte[] buffer = SoftBasic.BytesArrayRemoveDouble(b1, 1, 3);
            Assert.IsTrue(SoftBasic.IsTwoBytesEquel(b2, buffer));
        }
        public void BytesArrayRemoveDoubleExample( )
        {
            #region BytesArrayRemoveDouble

            byte[] b1 = new byte[] { 0x13, 0xA6, 0x15, 0x85, 0x5B, 0x05, 0x12 };

            byte[] buffer = SoftBasic.BytesArrayRemoveDouble(b1, 1, 3);

            // buffer的值就是移除了第一个字节数据和最后两个字节数据的新值 new byte[] { 0xA6, 0x15, 0x85 };

            #endregion
        }