func numChunks(b []byte, chunkSize int) int {
	lenB := len(b)
	if lenB <= chunkSize {
		return 1
	}
	return len(b)/(chunkSize-chunkedHeaderLen) + 1
}
// numChunks returns the number of GELF chunks necessary to transmit
// the given compressed buffer.
numChunks returns the number of GELF chunks necessary to transmit
the given compressed buffer.
// numChunks returns the number of GELF chunks necessary to transmit // the given compressed buffer .
func numChunks(b []byte, chunkSize int) int {
	lenB := len(b)
	if lenB <= chunkSize {
		return 1
	}
	return len(b)/(chunkSize-chunkedHeaderLen) + 1
}
func numChunks ( b [ ] byte , chunkSize int ) int { lenB := len ( b ) if lenB <= chunkSize { return 1 } return len ( b ) / ( chunkSize - chunkedHeaderLen ) + 1 }
numChunks returns the number of GELF chunks necessary to transmit
the given compressed buffer.
numChunks returns the number of GELF chunks necessary to transmit the given compressed buffer .