PeFileBase.fromPath constructor

PeFileBase.fromPath(
  1. String path
)

Implementation

factory PeFileBase.fromPath(String path) {
  var file = File(path);
  return PeFileBase(file.readAsBytesSync());
}