Methods
Attributes
| [R] | mode |
Public Class methods
[ show source ]
# File lib/rqrcode/qrcode/qr_8bit_byte.rb, line 17
17: def initialize( data )
18: @mode = QRMODE[:mode_8bit_byte]
19: @data = data;
20: end
Public Instance methods
[ show source ]
# File lib/rqrcode/qrcode/qr_8bit_byte.rb, line 23
23: def get_length
24: @data.size
25: end
[ show source ]
# File lib/rqrcode/qrcode/qr_8bit_byte.rb, line 28
28: def write( buffer )
29: ( 0...@data.size ).each do |i|
30: buffer.put( @data[i], 8 )
31: end
32: end