mirror of
https://github.com/minio/minio.git
synced 2026-11-13 22:45:16 +00:00
Exposing NewEncoder since GetEncoder is no longer around
This commit is contained in:
1 parent
dc5d7434e1
commit
3da8e53ab8
2 files changed
+3
-3
No files matched your search
@@ -112,6 +112,6 @@ func (e *Encoder) Decode(chunks [][]byte, length int) ([]byte, error) {
|
||||
}
|
||||
|
||||
func Decode(block [][]byte, ep *EncoderParams, length int) ([]byte, error) {
|
||||
encoder := newEncoder(ep)
|
||||
encoder := NewEncoder(ep)
|
||||
return encoder.Decode(block, length)
|
||||
}
|
||||
Reference in new issue
Block a user