mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-19 03:25:16 +00: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}
|
|
}
|