Standard library / bufio

bufio.MaxScanTokenSize

Default maximum scanner token-buffer size; actual usable token length can be smaller due to delimiters. Expected stdout: '65536\n'.

Formal Syntax & Structure

go syntaxgo
const MaxScanTokenSize = 65536

Working Example

Example Snippetgo
package main
import (  "bufio"  "fmt")
func main() { fmt.Println(bufio.MaxScanTokenSize) }
Go Reference