mirror of
https://github.com/fatedier/frp.git
synced 2024-12-24 00:47:47 +08:00
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}
|
||
|
}
|