private void SetAlignment(CtfPropertyBag bag)
        {
            var alignment = bag.GetShortOrNull("align");

            if (alignment.HasValue)
            {
                this.align = alignment.Value;
                return;
            }

            // if alignment is not specifically set, then integers with a size which is multiple
            // of 8-bits will be 8-bit aligned, all others will be single byte aligned.
            // spec: 1.8.2, 4.1.2
            if ((bag.GetShort("size") % 8) == 0)
            {
                this.align = 8;
            }
            else
            {
                this.align = 1;
            }
        }
 private void SetBase(CtfPropertyBag bag)
 {
     // integers default to decimal to specification 1.82 section 4.1.5
     this.Base = bag.GetShortOrNull("base") ?? 10;
 }