Home | History | Annotate | Download | only in gob

Lines Matching refs:Writer

18 	w          []io.Writer             // where to send the data
32 // NewEncoder returns a new encoder that will transmit on the io.Writer.
33 func NewEncoder(w io.Writer) *Encoder {
35 enc.w = []io.Writer{w}
41 // writer() returns the innermost writer the encoder is using
42 func (enc *Encoder) writer() io.Writer {
46 // pushWriter adds a writer to the encoder.
47 func (enc *Encoder) pushWriter(w io.Writer) {
51 // popWriter pops the innermost writer.
63 func (enc *Encoder) writeMessage(w io.Writer, b *encBuffer) {
92 func (enc *Encoder) sendActualType(w io.Writer, state *encoderState, ut *userTypeInfo, actual reflect.Type) (sent bool) {
134 func (enc *Encoder) sendType(w io.Writer, state *encoderState, origt reflect.Type) (sent bool) {
181 func (enc *Encoder) sendTypeDescriptor(w io.Writer, state *encoderState, ut *userTypeInfo) {
243 enc.sendTypeDescriptor(enc.writer(), state, ut)
252 enc.writeMessage(enc.writer(), state.b)