mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-17 02:48:57 -07:00
fb7264a663
Also, use upstream library, as my changes have been merged.
9 lines
161 B
Go
9 lines
161 B
Go
// +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}
|
|
}
|