rs_other.go 161 B

12345678
  1. // +build !amd64
  2. package reedsolomon
  3. func newRS(d, p int, em matrix) (enc Encoder) {
  4. g := em[d*d:]
  5. return &encBase{data: d, parity: p, encode: em, gen: g}
  6. }