8 lines
230 B
Go
8 lines
230 B
Go
//go:build (!amd64 && !arm64) || gccgo || appengine
|
|
|
|
package countlines
|
|
|
|
// CountBytes function counts number of non-zero bits in slice of 8bit unsigned integers.
|
|
func CountNewlines(s []byte) uint64 {
|
|
return countNewlinesGo(s)
|
|
}
|