sdk/golang/Standard Library/GoCompressFlate
Standard Library

GoCompressFlate

Go stdlib package — compress/flate. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.CorruptInputError.Error()Neutral
#
Signature
CorruptInputError.Error() string

CorruptInputError.Error function.

.InternalError.Error()Neutral
#
Signature
InternalError.Error() string

InternalError.Error function.

.NewReader()Neutral
#
Signature
NewReader(r io.Reader) io.ReadCloser

NewReader returns a new ReadCloser that can be used

.NewReaderDict()Neutral
#
Signature
NewReaderDict(r io.Reader, dict []byte) io.ReadCloser

NewReaderDict is like NewReader but initializes the reader

.NewWriter()Neutral
#
Signature
NewWriter(w io.Writer, level int) (*Writer, error)

NewWriter returns a new Writer compressing data at the given level.

.NewWriterDict()Neutral
#
Signature
NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error)

NewWriterDict is like NewWriter but initializes the new

.ReadError.Error()Neutral
#
Signature
ReadError.Error() string

ReadError.Error function.

.WriteError.Error()Neutral
#
Signature
WriteError.Error() string

WriteError.Error function.

.Writer.Close()Neutral
#
Signature
Writer.Close() error

Close flushes and closes the writer.

.Writer.Flush()Neutral
#
Signature
Writer.Flush() error

Flush flushes any pending data to the underlying writer.

Fully-Qualified Names

FQNField
compress/flatefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # compress/flate