jbush001 / WaveView

Digital Waveform Viewer
Apache License 2.0
16 stars 3 forks source link

Improper hex string conversion #40

Open jbush001 opened 5 years ago

jbush001 commented 5 years ago

The following:

new BitVector("zzzzzz", 2).toString(16)

Will print 'XZ'. I would expect it to print ZZ. The problem is that the first digit is not a full 4 bits wide.