Standard library / archive/tar
archive/tar.TypeBlock
Block-device header; do not extract blindly. Expected stdout: '52\n'.
Formal Syntax & Structure
go syntaxgo
const TypeBlock = '4'Working Example
Example Snippetgo
package main
import ( "archive/tar" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { fmt.Println(int(tar.TypeBlock)) }