func bufio.NewWriterSize
7 uses
bufio (current package)
bufio.go#L589: func NewWriterSize(w io.Writer, size int) *Writer {
bufio.go#L608: return NewWriterSize(w, defaultBufSize)
github.com/refraction-networking/utls
u_conn.go#L632: bufferedWriter := bufio.NewWriterSize(&helloBuffer, helloLen+4) // 1 byte for tls record type, 3 for length
net/http
h2_bundle.go#L3728: return bufio.NewWriterSize(nil, http2bufWriterPoolBufferSize)
h2_bundle.go#L4060: rws.bw = bufio.NewWriterSize(http2chunkWriter{rws}, http2handlerChunkWriteSize)
server.go#L882: return bufio.NewWriterSize(w, size)
transport.go#L1992: pconn.bw = bufio.NewWriterSize(persistConnWriter{pconn}, t.writeBufferSize())
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |