internal static BaseRelocationBlock FromReadingContext(ReadingContext context)
{
var reader = context.Reader;
long offset = reader.Position;
var block = new BaseRelocationBlock(reader.ReadUInt32())
{
StartOffset = offset,
_blockSize = reader.ReadUInt32(),
};
block._entriesReadingContext = context.CreateSubContext(reader.Position, (int)(block.BlockSize - (2 * sizeof (uint))));
return block;
}