You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
417 B
28 lines
417 B
package data_v1
|
|
|
|
import "errors"
|
|
|
|
type DataHeader struct {
|
|
Key string
|
|
Part int
|
|
Metadata map[string]string
|
|
EncoderParams EncoderParams
|
|
}
|
|
|
|
type EncoderTechnique int
|
|
|
|
const (
|
|
VANDERMONDE EncoderTechnique = iota
|
|
CAUCHY
|
|
)
|
|
|
|
type EncoderParams struct {
|
|
Length int
|
|
K uint8
|
|
M uint8
|
|
Technique EncoderTechnique
|
|
}
|
|
|
|
func Write() error {
|
|
return errors.New("Not Implemented")
|
|
}
|
|
|