nats.net
nats.net copied to clipboard
Improve parseError message to include position and UTF8 buffer string
byte[]
's ToString
prints System.Byte[]
. This is not helpful when diagnosing the state of the parser when an error occurs, so I instead print the UTF8 encoded string version of the buffer. I also print the position for good measure.