- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ReadLineBytes (0.1 sec)
-
src/net/textproto/reader.go
// eliding the final \n or \r\n from the returned string. func (r *Reader) ReadLine() (string, error) { line, err := r.readLineSlice(-1) return string(line), err } // ReadLineBytes is like [Reader.ReadLine] but returns a []byte instead of a string. func (r *Reader) ReadLineBytes() ([]byte, error) { line, err := r.readLineSlice(-1) if line != nil { line = bytes.Clone(line) } return line, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0)