Skip to content

Commit 962a3e5

Browse files
authored
Update README.md
1 parent c106a06 commit 962a3e5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,22 @@ dmtx.to_i
7373

7474
# Binary representation
7575
dmtx.to_i.to_s(2)
76-
=> "1010101010101010101110101000001111010111111101101001101011101001100110010100111010111011111100111001011001001000100010000111010110110001101111001011001001101011110000011111110010101101101010111001101001000000111100101000110110101110011100101111111111111111"
76+
=> "1010101010101010
77+
1011101010000011
78+
1101011111110110
79+
1001101011101001
80+
1001100101001110
81+
1011101111110011
82+
1001011001001000
83+
1000100001110101
84+
1011000110111100
85+
1011001001101011
86+
1100000111111100
87+
1010110110101011
88+
1001101001000000
89+
1111001010001101
90+
1010111001110010
91+
1111111111111111"
7792

7893
# Choose encoding
7994
Dmtx::DataMatrix.new('Chunky Bacon', encoding: :txt)

0 commit comments

Comments
 (0)