Skip to content

Commit

Permalink
docs: fix Decode godoc (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Jun 23, 2023
1 parent 36b5a03 commit eb06300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Codec interface {
// There must be no missing shares. Only returns parity shares.
Encode(data [][]byte) ([][]byte, error)
// Decode decodes sparse original + parity data, automatically extracting share size.
// Missing shares must be nil. Returns original shares only.
// Missing shares must be nil. Returns original + parity data.
Decode(data [][]byte) ([][]byte, error)
// maxChunks returns the max. number of chunks each code supports in a 2D square.
maxChunks() int
Expand Down

0 comments on commit eb06300

Please sign in to comment.