title: How to convert number to byte string in TypeScript?
body: <p>Let's say I have a number consisting of 3 bytes, 0x303132
  How can I convert this number to a 3 characters-long string of the same value - '012' - which is the value of each of the bytes above in ASCII?
  I know you can use '\x', but I don't want to hard-code the value.</p>