Standard library / compress/lzw

compress/lzw.MSB

Pack codes most-significant bits first, as in PDF. This constant alone does not make the implementation TIFF compatible. Expected stdout: '1\n'.

Formal Syntax & Structure

go syntaxgo
const MSB Order = 1

Working Example

Example Snippetgo
package main
import (  "compress/lzw"  "fmt")
func must(e error) {  if e != nil {    panic(e)  }}
func main() { fmt.Println(int(lzw.MSB)) }
Go Reference