Standard library / compress/lzw
compress/lzw.LSB
Pack codes least-significant bits first, as in GIF. Expected stdout: '0\n'.
Formal Syntax & Structure
go syntaxgo
const LSB Order = 0Working Example
Example Snippetgo
package main
import ( "compress/lzw" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { fmt.Println(int(lzw.LSB)) }