github.com/go-faster/jx.Writer.Buf (field)

47 uses

	github.com/go-faster/jx (current package)
		enc.go#L68: func (e Encoder) Bytes() []byte { return e.w.Buf }
		enc.go#L71: func (e *Encoder) SetBytes(buf []byte) { e.w.Buf = buf }
		enc_stream.go#L20: 			Buf:    make([]byte, 0, bufSize),
		w.go#L12: 	Buf    []byte // underlying buffer
		w.go#L21: 	w.Buf = append(w.Buf, p...)
		w.go#L30: 	wrote, err := t.Write(w.Buf)
		w.go#L37: 	return string(w.Buf)
		w.go#L44: 	w.Buf = w.Buf[:0]
		w.go#L50: 	w.Buf = w.Buf[:0]
		w.go#L61: 	buf := bytes.NewBuffer(w.Buf)
		w.go#L63: 	w.Buf = buf.Bytes()
		w.go#L69: 		w.Buf = append(w.Buf, c)
		w.go#L77: 		w.Buf = append(w.Buf, c1, c2)
		w_b64.go#L23: 	case w.stream == nil || len(w.Buf)+encodedLen <= cap(w.Buf):
		w_b64.go#L24: 		start := len(w.Buf)
		w_b64.go#L25: 		w.Buf = append(w.Buf, make([]byte, encodedLen)...)
		w_b64.go#L26: 		base64.StdEncoding.Encode(w.Buf[start:], data)
		w_b64.go#L31: 		w.Buf, fail = s.flush(w.Buf)
		w_float_bits.go#L25: 		w.Buf = floatAppend(w.Buf, v, bits)
		w_stream.go#L16: 	_, fail := w.stream.flush(w.Buf)
		w_stream.go#L80: 		w.Buf = append(w.Buf, s...)
		w_stream.go#L91: 	for len(w.Buf)+len(s) > cap(w.Buf) {
		w_stream.go#L93: 		w.Buf, fail = w.stream.flush(w.Buf)
		w_stream.go#L98: 		n := copy(w.Buf[len(w.Buf):cap(w.Buf)], s)
		w_stream.go#L100: 		w.Buf = w.Buf[:len(w.Buf)+n]
		w_stream.go#L102: 	w.Buf = append(w.Buf, s...)

	github.com/gotd/td/tdjson
		encoder.go#L106: 	if l := len(b.Buf); l > 0 && b.Buf[l-1] == ',' {
		encoder.go#L107: 		b.Buf = b.Buf[:l-1]