public void ReadWithObject()
        {
            const string     hexBuffer = "A1664F626A656374A168496E7456616C75650C";
            ObjectWithObject obj       = Helper.Read <ObjectWithObject>(hexBuffer);

            Assert.NotNull(obj);
            Assert.NotNull(obj.Object);
            Assert.Equal(12, obj.Object.IntValue);
        }
        public void WriteWithObject()
        {
            const string hexBuffer = "A1664F626A656374A168496E7456616C75650C";

            ObjectWithObject obj = new ObjectWithObject
            {
                Object = new IntObject
                {
                    IntValue = 12
                }
            };

            Helper.TestWrite(obj, hexBuffer);
        }