예제 #1
0
        public override object ReadValue(IO.Serializer.IReader pkg)
        {
            BitSet v;

            pkg.Read(out v);
            return(v);
        }
예제 #2
0
        public override void ReadValueList(System.Collections.IList obj, IO.Serializer.IReader pkg)
        {
            var    lst = (obj);
            UInt16 count;

            unsafe
            {
                pkg.ReadPtr(&count, sizeof(UInt16));
                for (UInt16 i = 0; i < count; i++)
                {
                    BitSet v;
                    pkg.Read(out v);
                    lst.Add(v);
                }
            }
        }