title: View string watch variable as an array of bytes in the Visual Studio 'watch' or 'locals' windows
body: <p>I am debugging a WebAPI method that returns a short array of bytes. In the test jQuery that calls the API I have a breakpoint set and can see the 'data' that is returned from the WebAPI call. In the watch window in Visual Studio (2013) the JavaScript variable 'data' is given type 'string'. I would like to see the string as a series of bytes, in 0x1A 0x00 0x45 style. How can I do that?</p>
  
  <p>The string I am interested in rendering as a byte array is at the centre of the last row in this screenshot (the one that starts "ICAgl"):</p>
  
  <p><img src="https://i.stack.imgur.com/3hXqq.png" alt="Visual Studio Watch Window Screenshot"></p>