AsmResolver.BaseRelocationEntry.FromReadingContext C# (CSharp) Метод

FromReadingContext() статический приватный Метод

static private FromReadingContext ( ReadingContext context ) : BaseRelocationEntry
context ReadingContext
Результат BaseRelocationEntry
        internal static BaseRelocationEntry FromReadingContext(ReadingContext context)
        {
            long offset = context.Reader.Position;
            var value = context.Reader.ReadUInt16();
            return new BaseRelocationEntry((BaseRelocationType) (value >> 12), (ushort) (value & 0x0FFF))
            {
                StartOffset = offset
            };
        }