Skip to content

WindSoilder/nu_plugin_bin_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nu plugin binary reader

A nushell plugin to read binary data

Require python version

python3.7+

Usage

  1. register the plugin to nushell
register -e json plugin.py

It will introduce a new command: from-binary. So you can just play with it.

Usage example

  1. read and parse png file:
open capture.PNG | from-binary png | get ihdr
  1. read and parse ttf file:
open FiraCode-VF.ttf | from-binary ttf | get directory_table

Note

The kaitaistruct.py is just a copy of kaitai struct python runtime, put it directly here, so we don't need extra requirements. And reader/*.py are just a copy of auto-generated parser, DON'T CHANGE IT.

For more references

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published