Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ScanBytes (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/bufio/scan.go

    func (s *Scanner) Split(split SplitFunc) {
    	if s.scanCalled {
    		panic("Split called after Scan")
    	}
    	s.split = split
    }
    
    // Split functions
    
    // ScanBytes is a split function for a [Scanner] that returns each byte as a token.
    func ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    	return 1, data[0:1], nil
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. api/go1.1.txt

    pkg archive/zip, type FileHeader struct, UncompressedSize64 uint64
    pkg bufio, const MaxScanTokenSize = 65536
    pkg bufio, const MaxScanTokenSize ideal-int
    pkg bufio, func NewScanner(io.Reader) *Scanner
    pkg bufio, func ScanBytes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanLines([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanRunes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanWords([]uint8, bool) (int, []uint8, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top