(b []byte)
| 60 | } |
| 61 | |
| 62 | func trimTrailingSpacesN(b []byte) []byte { |
| 63 | i := len(b) - 1 |
| 64 | loop: |
| 65 | for ; i >= 0; i-- { |
| 66 | switch b[i] { |
| 67 | case sp, ht, nl, cr: |
| 68 | default: |
| 69 | break loop |
| 70 | } |
| 71 | } |
| 72 | return b[:i+1] |
| 73 | } |
| 74 | |
| 75 | // parseInt parses a decimal representation of an int64 from b. |
| 76 | // |
no outgoing calls
no test coverage detected
searching dependent graphs…