- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StreamWriter (0.11 sec)
-
src/crypto/cipher/io.go
return } // StreamWriter wraps a [Stream] into an io.Writer. It calls XORKeyStream // to process each slice of data which passes through. If any [StreamWriter.Write] // call returns short then the StreamWriter is out of sync and must be discarded. // A StreamWriter has no internal buffering; [StreamWriter.Close] does not need // to be called to flush write data. type StreamWriter struct { S Stream W io.Writer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 1.5K bytes - Viewed (0) -
src/net/http/fcgi/fcgi.go
} func newWriter(c *conn, recType recType, reqId uint16) *bufWriter { s := &streamWriter{c: c, recType: recType, reqId: reqId} w := bufio.NewWriterSize(s, maxWrite) return &bufWriter{s, w} } // streamWriter abstracts out the separation of a stream into discrete records. // It only writes maxWrite bytes at a time. type streamWriter struct { c *conn recType recType reqId uint16 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 5.9K bytes - Viewed (0)