- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for StreamWriter (0.68 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) -
src/crypto/cipher/example_test.go
} // If the key is unique for each ciphertext, then it's ok to use a zero // IV. var iv [aes.BlockSize]byte stream := cipher.NewOFB(block, iv[:]) var out bytes.Buffer writer := &cipher.StreamWriter{S: stream, W: &out} // Copy the input to the output buffer, encrypting as we go. if _, err := io.Copy(writer, bReader); err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 30 16:23:44 UTC 2018 - 11.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NewOFB", Func, 0}, {"Stream", Type, 0}, {"StreamReader", Type, 0}, {"StreamReader.R", Field, 0}, {"StreamReader.S", Field, 0}, {"StreamWriter", Type, 0}, {"StreamWriter.Err", Field, 0}, {"StreamWriter.S", Field, 0}, {"StreamWriter.W", Field, 0}, }, "crypto/des": { {"(KeySizeError).Error", Method, 0}, {"BlockSize", Const, 0}, {"KeySizeError", Type, 0}, {"NewCipher", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg crypto/cipher, type StreamReader struct, R io.Reader pkg crypto/cipher, type StreamReader struct, S Stream pkg crypto/cipher, type StreamWriter struct pkg crypto/cipher, type StreamWriter struct, Err error pkg crypto/cipher, type StreamWriter struct, S Stream pkg crypto/cipher, type StreamWriter struct, W io.Writer pkg crypto/des, const BlockSize ideal-int pkg crypto/des, func NewCipher([]uint8) (cipher.Block, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)