Standard library / compress/flate
compress/flate.CorruptInputError
Reports the compressed byte offset associated with malformed raw DEFLATE data. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
type CorruptInputError int64Working Example
Example Snippetgo
package main
import ( "compress/flate" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { var e error = flate.CorruptInputError(4); fmt.Println(e.Error() != "") }