WriteByte appends the byte c to b's Buffer. The returned error is always nil.
(c byte)
| 26 | // WriteByte appends the byte c to b's Buffer. |
| 27 | // The returned error is always nil. |
| 28 | func (enc *Encoder) writeByte(c byte) { |
| 29 | enc.buf = append(enc.buf, c) |
| 30 | } |
| 31 | |
| 32 | // WriteString appends the contents of s to b's Buffer. |
| 33 | // It returns the length of s and a nil error. |
no outgoing calls