Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for content_es (0.06 sec)

  1. src/bufio/example_test.go

    		return
    	}
    
    	if err = writer.Flush(); err != nil {
    		fmt.Println("Flush Error:", err)
    		return
    	}
    
    	fmt.Println("Bytes written:", n)
    	fmt.Println("Buffer contents:", buf.String())
    	// Output:
    	// Bytes written: 41
    	// Buffer contents: Hello, world!
    	// This is a ReadFrom example.
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top