module Goban::ECC::RSInflator

Overview

Module for generating redundant Reed-Solomon error correction bits.

Extended Modules

Defined in:

goban/ecc/rsinflator.cr

Constant Summary

GEN_POLYS = begin a = uninitialized ::StaticArray(GFPoly, 31) a[0] = GFPoly.new(Slice[1_u8]) (1_u8..30_u8).each do |d| last_gen = a[d - 1] a[d] = last_gen.mul(Slice[1_u8, GF.exp(d - 1)]) end a end

Instance Method Summary

Instance Method Detail

def inflate_codewords(codewords : Slice(UInt8), version : QR::Version | RMQR::Version, ecl : Level) #

[View source]
def inflate_codewords(codewords : Slice(UInt8), version : MQR::Version, ecl : Level) #

[View source]