jw3 / example-daffodil-vscode

A VS Code extension for DFDL with Daffodil
Apache License 2.0
2 stars 3 forks source link

Scalable hex view #142

Open jw3 opened 2 years ago

jw3 commented 2 years ago

The current implementation of the hex view dumps the formatted text to a file and loads that file in the editor. This is fine for smaller files, but as size increases there are issues.

@Shanedell did a comparison of sizes of the source file and outputs from the text hex and html hex implementations:

works.jpg - 41,796 bytes (45 KB) on disk

larger-example.png - 19,663,882 bytes (19.7 MB) on disk