Merge pull request #52 from harshavardhana/pr_out_rename_newencoder_newencoder

Rename NewEncoder-->newEncoder
This commit is contained in:
Harshavardhana 2014-11-29 14:42:03 -08:00
commit dc5d7434e1
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}

View File

@ -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)
}