ASCII art diagram converter: Difference between revisions

m
Align pattern right
m (Align pattern right)
Line 811:
const pName = alignLeft(8);
const pBit = alignRight(5);
const pPat = alignLeftalignRight(16);
const line = repeatChar('-')
const binString = [...hexStr].reduce(concatHexToBin, '');
Line 891:
 
 
Name Size Pattern Pattern
-------- ----- ----------------
ID 16 0111100001000111
QR 1 0 0
Opcode 4 1111 1111
AA 1 0 0
TC 1 1 1
RD 1 1 1
RA 1 1 1
Z 3 011 011
RCODE 4 1111 1111
QDCOUNT 16 0101010010010110
ANCOUNT 16 1110000100101110
Anonymous user