parsePeVersionResource function

PeVersionResource? parsePeVersionResource(
  1. Uint8List bytes
)

Parses an in-memory PE image. See readPeVersionResource; prefer that when the image is a file, since it reads only the parts it needs.

Having the whole image in hand, this resolves the version payload through the full section table, wherever it points.

Implementation

PeVersionResource? parsePeVersionResource(Uint8List bytes) =>
    selectPeVersionResource(parsePeVersionResources(bytes));