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