public static Dex Read(Stream stream) { using (var binaryReader = new BinaryReader(stream)) { var reader = new DexReader(); return reader.ReadFrom(binaryReader); } }
public InstructionReader(DexReader dexReader, MethodDefinition mdef) { this.dexReader = dexReader; methodDefinition = mdef; Lookup = new Dictionary<int, Instruction>(); LookupLast = new Dictionary<int, Instruction>(); lazyInstructionsSetters = new List<Action>(); Ip = 0; }
public InstructionReader(DexReader dexReader, MethodDefinition mdef) { this.dexReader = dexReader; methodDefinition = mdef; Lookup = new Dictionary <int, Instruction>(); LookupLast = new Dictionary <int, Instruction>(); lazyInstructionsSetters = new List <Action>(); Ip = 0; }