Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you pass in the incorrect amount of hex, it is possible that the Buffer module can throw an error.

Example

 

Code Block
languagejavascript
var myBuff = String.toEbcdicHex('Hello world');
var myString = String.fromEbcdicHex(myBuff.toString('hex'));

...