- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ExampleBuffer_Len (0.06 seconds)
-
src/bytes/example_test.go
} func ExampleBuffer_Grow() { var b bytes.Buffer b.Grow(64) bb := b.Bytes() b.Write([]byte("64 bytes or fewer")) fmt.Printf("%q", bb[:b.Len()]) // Output: "64 bytes or fewer" } func ExampleBuffer_Len() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%d", b.Len()) // Output: 5 } func ExampleBuffer_Next() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde"))
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0)