Beispiel #1
0
        public void ReadExternal(BinaryReader input)
        {
            _header = new RecordHeader();
            _header.ReadExternal(input);

            switch ( _header.Type )
            {
                case 0x52:
                    _body = new DoABC(this);
                    _parent.AddAbc((DoABC)_body);
                    break;

                case 0x45://FileAttributes
                default:
                    _body = new DefaultBody(this);
                    break;
            }

            _body.ReadExternal(input);
        }
Beispiel #2
0
        public void ReadExternal(BinaryReader input)
        {
            _header = new RecordHeader();
            _header.ReadExternal(input);

            switch (_header.Type)
            {
            case 0x52:
                _body = new DoABC(this);
                _parent.AddAbc((DoABC)_body);
                break;

            case 0x45:    //FileAttributes
            default:
                _body = new DefaultBody(this);
                break;
            }


            _body.ReadExternal(input);
        }