Exemple #1
0
        public Record(BinaryFlashReader reader, Flash owner)
        {
            ushort nVal = reader.ReadUInt16();
            this.TagLength = (uint)((int)nVal & 63);
            //this.TagCode = nVal>>6;
            this.Tag = (Flash.Tags)(nVal>>6);

            if (this.TagLength == 63)
                this.TagLength = reader.ReadUInt32();

            this.loadedData = reader.ReadBytes((int)this.TagLength);

            this.Owner = owner;
        }
Exemple #2
0
        public Record(BinaryFlashReader reader, Flash owner)
        {
            ushort nVal = reader.ReadUInt16();

            this.TagLength = (uint)((int)nVal & 63);
            //this.TagCode = nVal>>6;
            this.Tag = (Flash.Tags)(nVal >> 6);

            if (this.TagLength == 63)
            {
                this.TagLength = reader.ReadUInt32();
            }

            this.loadedData = reader.ReadBytes((int)this.TagLength);

            this.Owner = owner;
        }
Exemple #3
0
 protected void CopyRecord(Record record)
 {
     this.Tag = record.Tag;
     this.TagLength = record.TagLength;
     this.Owner = record.Owner;
 }
Exemple #4
0
 protected void CopyRecord(Record record)
 {
     this.Tag       = record.Tag;
     this.TagLength = record.TagLength;
     this.Owner     = record.Owner;
 }