Example #1
0
        public SymbolPublic(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            PublicType   = stream.ExtractInt32();
            Offset       = stream.ExtractInt32();
            SectionIndex = stream.ExtractUInt16();
            Name         = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }
Example #2
0
        public SymbolUDT(MSFStream stream, TypedByteSequence <ushort> size, TypedByteSequence <ushort> type, MaskedByteSequence seq)
        {
            CorrespondingByteSequence = seq;
            Size = size;
            Type = type;

            TypeIndex = stream.ExtractInt32();
            Name      = stream.ExtractTerminatedString();

            stream.Extract4ByteAlignment();
        }