Lines Matching defs:in
4 // you may not use this file except in compliance with the License.
9 // Unless required by applicable law or agreed to in writing, software
44 func NewStream(in io.Reader, out io.Writer) Stream {
46 in: json.NewDecoder(in),
52 in *json.Decoder
64 if err := s.in.Decode(&raw); err != nil {
85 func NewHeaderStream(in io.Reader, out io.Writer) Stream {
87 in: bufio.NewReader(in),
93 in *bufio.Reader
107 line, err := s.in.ReadString('\n')
138 if _, err := io.ReadFull(s.in, data); err != nil {