class QRCode::BitBuffer

Defined in:

qr-code/bit_buffer.cr

Constant Summary

PAD0 = 236
PAD1 = 17

Constructors

Instance Method Summary

Constructor Detail

def self.new(version : Int32) #

[View source]

Instance Method Detail

def alphanumeric_encoding_start(length) #

[View source]
def buffer : Array(Int32) #

[View source]
def byte_encoding_start(length) #

[View source]
def end_of_message(max_data_bits) #

[View source]
def get(index) #

[View source]
def get_length_in_bits : Int32 #

[View source]
def numeric_encoding_start(length) #

[View source]
def pad_until(prefered_size) #

[View source]
def put(num, length) #

[View source]
def put_bit(bit : Bool) #

[View source]