(r *bufio.Reader, sz int, n int)
| 115 | } |
| 116 | |
| 117 | func readNewString(r *bufio.Reader, sz int, n int) (string, int, error) { |
| 118 | b, sz, err := readNewBytes(r, sz, n) |
| 119 | return string(b), sz, err |
| 120 | } |
| 121 | |
| 122 | func readBytes(r *bufio.Reader, sz int, v *[]byte) (int, error) { |
| 123 | return readBytesWith(r, sz, func(r *bufio.Reader, sz int, n int) (remain int, err error) { |
no test coverage detected