Searched refs:NewEncoder (Results 1 – 15 of 15) sorted by relevance
174 err := json.NewEncoder(buf).Encode(v)329 err := json.NewEncoder(&buf).Encode(v)
198 enc := json.NewEncoder(outputFile)
175 if err := json.NewEncoder(os.Stderr).Encode(&allCaseInfos); err != nil {
35 func NewEncoder(w io.Writer) *Encoder { func
180 enc := json.NewEncoder(outputFile)
188 enc := json.NewEncoder(outputFile)
177 if err := gob.NewEncoder(buf).Encode(keyToGobKey(k)); err != nil {
22 err := NewEncoder(buf).Encode(huge)
85 if err := json.NewEncoder(gz).Encode(reply); err != nil {90 if err := json.NewEncoder(w).Encode(reply); err != nil {
366 hEnc: hpack.NewEncoder(&buf),
568 cc.henc = hpack.NewEncoder(&cc.hbuf)
378 sc.hpackEncoder = hpack.NewEncoder(&sc.headerWriteBuf)