File: rs_other.go

package info (click to toggle)
golang-github-templexxx-reedsolomon 0.1.1%2Bgit20170927.7092926-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 636 kB
  • sloc: asm: 352; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 161 bytes parent folder | download
1
2
3
4
5
6
7
8
// +build !amd64

package reedsolomon

func newRS(d, p int, em matrix) (enc Encoder) {
	g := em[d*d:]
	return &encBase{data: d, parity: p, encode: em, gen: g}
}