mirror of
https://github.com/minio/minio.git
synced 2025-02-03 09:55:59 -05:00
Rename NewEncoder-->newEncoder
This commit is contained in:
parent
a86de74983
commit
17a23876a2
@ -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)
|
||||
}
|
||||
|
@ -152,6 +152,6 @@ func (e *Encoder) Encode(block []byte) ([][]byte, int) {
|
||||
}
|
||||
|
||||
func Encode(block []byte, ep *EncoderParams) ([][]byte, int) {
|
||||
encoder := NewEncoder(ep)
|
||||
encoder := newEncoder(ep)
|
||||
return encoder.Encode(block)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user