frp/vendor/github.com/templexxx/reedsolomon/rs_other.go

9 lines
161 B
Go
Raw Normal View History

2017-10-24 22:53:20 +08:00
// +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}
}