Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Writer (0.14 sec)

  1. cmd/bitrot-streaming.go

    func newStreamingBitrotWriterBuffer(w io.Writer, algo BitrotAlgorithm, shardSize int64) io.Writer {
    	return &streamingBitrotWriter{iow: ioutil.NopCloser(w), h: algo.New(), shardSize: shardSize, canClose: nil, closeWithErr: func(err error) error {
    		// Similar to CloseWithError on pipes we always return nil.
    		return nil
    	}}
    }
    
    // Returns streaming bitrot writer implementation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top