mirror of
https://github.com/minio/minio.git
synced 2025-12-05 15:22:28 -05:00
Exposing NewEncoder since GetEncoder is no longer around
This commit is contained in:
@@ -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