Install this extension: Hexdump for VSCode. It can display a specified file in hexadecimal.
Open the file/image/whatever you want to display in hex mode in Visual Studio Code, then press Ctrl + Shift + Alt + H. That's it.
Or press Ctrl + P then input Show hexdump from path
to open a file in hex mode directly.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…