WindowsPEFile constructor

WindowsPEFile(
  1. File file, {
  2. bool verbose = false,
})

Implementation

WindowsPEFile(this.file, {this.verbose = false}) {
  var exeBytes = file.readAsBytesSync();
  var bytesIO = BytesUint8ListIO.from(exeBytes);

  fileBuffer = BytesBuffer.fromIO(bytesIO);

  _log('Opened: ${file.path}');
}