by Mario Vernari (2 Submissions)
Category: String Manipulation
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
Have you ever need to convert a binary string to HEX? Doing it in VB is quite simple but a lot slow. I'm using this class to exchange XML data from serial I/O apps with high performance.
Inputs
byte-array or hex string
Assumes
Using huge stream it will take a long time to allocate data (not to convert!)
Code Returns
hex string or byte-array
Download Ultra-fast bin to hex, hex to bin conversion (5 KB)