Git Product home page Git Product logo

binary-file-viewer's Introduction

The (Customizable) Binary File Viewer

Support

If you like the "Binary File Viewer" please consider supporting it.

  

Help

In vscode's command palette run: 'Binary File Viewer: Show Help'. That will open a help page explaining the concept and the available API.

There exists also a basic walkthrough. You can open it from the command palette via: 'Get Started: Open Walkthrough...' -> 'Binary File Viewer'.

Binary File Viewer

The 'Binary File Viewer' is a framework that allows you to build your own custom viewers for binary files. These files can be either existing file formats for which no vscode extension exists or also proprietary file formats. I.e. file formats that you build on your own and for which you would like to have a convenient way to look inside.

To tell the 'Binary File Viewer' what files to decode and how, you have to provide a javascript file.

Besides the display of numerical and binary values there is also support for graphic visualization with charts or a canvas.

Examples

Basic example:

Memory dump:

Charts:

Installation

Install through Visual Studio Code Marketplace. The extension is called "Binary File Viewer".

Usage

To understand how to build own parser scripts please refer to the Help.

To use it:

  1. In the vscode explorer right-click the binary file.
  2. Choose 'Open with Binary File Viewer'.

To use the 'Binary File Viewer' as default for some file extension:

  1. In the vscode explorer right-click the binary file.
  2. Choose 'Open With...'.
  3. If there is more than 1 viewer registered for the file type all viewers will show up, e.g.:
  4. Choose 'Configure default editor for ...'
  5. In the next window select the 'Binary File Viewer'.
  6. The next time you select a file of the same type it is immediately opened by the 'Binary File Viewer'.

Acknowledgements

This extension makes heavy use of the "chart.js", the "chartjs-plugin-zoom" and the "hammer.js" libraries.

Further used libraries are:

Many thanks to all the authors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.