- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewWriterDict (0.24 sec)
-
src/compress/flate/deflate.go
} return &dw, nil } // NewWriterDict is like [NewWriter] but initializes the new // [Writer] with a preset dictionary. The returned [Writer] behaves // as if the dictionary had been written to it without producing // any compressed output. The compressed data written to w // can only be decompressed by a [Reader] initialized with the // same dictionary. func NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 20.3K bytes - Viewed (0) -
src/compress/flate/inflate.go
// with a preset dictionary. The returned [Reader] behaves as if // the uncompressed data stream started with the given dictionary, // which has already been read. NewReaderDict is typically used // to read data compressed by NewWriterDict. // // The ReadCloser returned by NewReaderDict also implements [Resetter]. func NewReaderDict(r io.Reader, dict []byte) io.ReadCloser { fixedHuffmanDecoderInit() var f decompressor f.makeReader(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 20.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"DefaultCompression", Const, 0}, {"HuffmanOnly", Const, 7}, {"InternalError", Type, 0}, {"NewReader", Func, 0}, {"NewReaderDict", Func, 0}, {"NewWriter", Func, 0}, {"NewWriterDict", Func, 0}, {"NoCompression", Const, 0}, {"ReadError", Type, 0}, {"ReadError.Err", Field, 0}, {"ReadError.Offset", Field, 0}, {"Reader", Type, 0}, {"Resetter", Type, 4},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)